I created a blog using wordpress in January.
Though, I use a custom template for one of my page to display custom dynamic pages. (exemple here)
Now, I use the wordpress plugin XML-Sitemap to automatically generate sitemaps.
Unsurprisingly, this plugin does not crawl the page using a custom template, and the many links within.
However, I thought that the crawlers of the major search engines would do so. But they didn’t. My custom pages are still not indexed anywhere.
So here is my question:
I have found a tool that can comprehensively crawl my website and generate a sitemap. If I use it, do I have to de-activate my wordpress pluging?
Thanks a lot!!
first of all, i'm not experienced in Word Press, but I came out with two ideas about your problem, so, if they could be useful, here are:
1) I don't think the plugin crawls the template. Instead I think the plugin generates the sitemap starting from the sitemap saved in the wordpress configuration (in drupal the sitemap and url aliases are saved in the database for example, and the sitemap plugin starts from there)
2) If your plugin generates a sitemap file (I think it does!), so you have to disable it first of use an other tool
Hope it helps!
Related
I'm building my own theme in WordPress, and the website will be in multiple languages.
All I need is to find a way to assign a language to each page, and this language should be added to the URL as well. (I'm guessing adding a taxonomy, but I'm not sure how to add this to the URL)
I will create a different template page per individual page. Most plugins try to translate each page, this I don't need.
Lastly, of course, I will create a separate menu per language, but these links should link to the correct page URL (with the ../language/..)?
Is there a way/ plugin that can help me do this?
Thanks a lot to all who can help me with this!
I'm building an ecommerce store with WooCommerce, and I would like to change how my URLs are created. At the moment the structure is
domain.com/product-category/category-name
domain.com/shop/category-name/product-name
For SEO purposes would like to change it to
domain.com/category-name
domain.com/category-name/product-name
but when I delete the product category base in Wordpress permalink settings, it just reappears. Then I found this page stating that I shouldn't change it at all. Is that true? Am I wrong in wanting to alter the URLs?
If it's fine to change them, how can I do it?
I think this is helps you.
Removing those URL is definitely one of the major improvements in search engine optimization for any online store because then search engines will not take into account the unnecessary words in the link. So, the search for your products will become more precise. I also encountered this problem and tested most of the plugins that were available on the WordPress website. Now I definitely can recommend Permalink Manager by Premmerce because it's free, very user friendly and simple plugin.
You can download it in WordPress site here: https://wordpress.org/plugins/woo-permalink-manager/
Thanks.
I'm new to wordpress, and I want to know if it is possible to put a theme bought on shapedtheme.com for example on an existing wordpress.
And if so, how to do it. I don't know where to put the code of the theme. I saw the wordpress page builder with text, but I see tags with [] and not <>.
I saw on this thread that pages can be linked to php files. I don't see how.
I have full access to the hosting service's filesystem and can see all wordpress files.
I would also like to transpose the theme header and footer and if possible, use the theme cards to adapt to blog articles written in wordpress.
How can I do this ?
I searched for tutorials on google or related threads on SO with no luck.
Any ressource would be appreciated.
Thanks to anyone who will take the time to read/answer this post.
No, you can't use a non-WordPress theme in a WordPress installation since WordPress will look for specific templates and pass certain objects to the template to be displayed.
You could adapt it to work with WordPress, though. Here's the theming guide to get you started.
But you'll probably be able to find a WordPress-ready theme with the features you want. This is the WordPress theme directory link for themes using bootstrap.
Unless you go for a from-scratch development of a pure php theme, and you need some level of theme customization I'd strongly suggest looking into child themes, as it'll allow you to update the base theme minimizing the changes you'd have to do to yours.
The [ ] syntax you mention are shortcodes, small, safe php functions that can be executed by inserting them in the editor, templates, etc, and provide kind of an api that exposes WordPress or plugins functionality.
And regarding your link, OP already has a WordPress theme, but is looking for a way of using a different, specialized template on specific pages. This template still has to follow to certain WordPress conventions.
So I am trying to do this and I don't know how. I have a wordpress powered website with a plugin called "frontier-post" in it. This plugin makes a new front-end post submission. The way to use it is to put the shortcode "[frontier-post]" in any post in my wordpress page and that page turns into this.
I want to make a custom page for myself, where I can have the content created by this plugin there too. So I do not want it to be a post in my wordpress, but lets say at a corner in the custom page. I have searched and found these but the suggestions there would not work. I am able to include the wordpress so that the custom page has access to posts, etc. but even using this
echo do_shortcode('[frontier-post]');
would not help me. (even if header is included)
These are the similar things i found:
Wordpress/PHP - How to use plugins outside wordpress-powered pages?
Need Help for my Custom Page Template
I would really appreciate it if you could help me with this.
If you are creating a PHP page that isn't going to be rendered inside WordPress, you can't use a Plugin of the WordPress engine to accomplish what you are wanting to build. (As the accepted answer to one of the pages you link to indicates).
Instead, you might be able to use the json-api plugin and have your custom page query it for the data. While it won't render the shortcode, it will give you the raw data to work with.
http://wordpress.org/plugins/json-api/
Edit:
Based on a comment, your do_shortcode should work...just try it without the square brackets.
I'm developing a WordPress theme and I need to have a custom URL for some kind of content.
For example, I need to have a page to show some article details. Now, i've created a page template called "Article", and so i've to create a new page and give it the page template "Article"
(I get the url http://mydomain.com/article?id=123)
It works fine, but now i'm having dozens of this pages, and it's a mess to create them all on every installation of this theme, so i want to do it in my theme code.
I saw something near that on BuddyPress, where you can use /member/ and it redirects to a member page. I just wanna know how to do so.
Thanks!
If you are running wordpress 3.0 I would recommend making a custom post type for your articles. That would allow you to control the URL in the way that you want and also allow you to use more sophisticated full text urls if you wanted to.
Here are some links to some tutorials about how to make a custom post type to get you started:
http://kovshenin.com/archives/custom-post-types-in-wordpress-3-0
http://kovshenin.com/archives/extending-custom-post-types-in-wordpress-3-0/
The second one has an example file that you can download and edit to help you get started.
Cheers,
Paul