Sorry if my question was basic or stupid. Please help me how to do this thing i m new to wordpress.
I have permalinks for pagination page like this
www.website.com/customtaxonomy.html/1
www.website.com/customtaxonomy.html/2
but i need to change this permalinks as
www.website.com/customtaxonomy.html?page=1
www.website.com/customtaxonomy.html?page=2
only for paginations pages.
I cant comment as I need 50 rep. I believe that you will need a custom function for this, maybe this will help: https://wordpress.stackexchange.com/questions/57070/change-the-page-slug-in-pagination - its not directly the same but might help you figure it out. The only other thing I can suggest is a rewrite with the .htaccess file. Give this a ganders: simple .htaccess redirect : how to redirect with parameters?
Related
I tried to update my site's permalink structure from the default to this: /%category%/%postname%/ but now the category links are redirecting to the not found page.
Strangely enough the permalinks for the custom post types are working fine.
I've been trying to find the solution for ours now, but I'm stuck. I think I'm missing something obvious here. Can anybody help me?
Thanks!
My product category urls currently look like: /product-category/category/category-name
Where the category-name is the only changing part. I would like to change /product-category/category to just /product-category, so my final url would look like: /product-category/category-name
Most of my google searches have yielded results relating to removing /product-category but I haven't found anyone talking about having this redundant extra /category in the url.
Any help is much appreciated.
You can solve this right in Wordpress. When you install woocommerce, a new setting shows up in you permalinks settings. In your wordpress dashboard, go to Settings > Permalinks. Then when you scroll down beneath your regular wordpress permalink settings you will see one for woocommerce. There you can choose what you want to actually display.
Hope this helps out.
Update after comment
Ah I see, I read to fast. I would think you would have to do a rewrite to the core wordpress function for categories. Probably a decent amount of work in creating your own plugin to do it. Looks like this plugin does a good job of it but I haven't used it. Let me know if it works.
http://wordpress.org/plugins/no-category-base-wpml/
Let me know if it works
I have been having a few problems with my blog and was hoping someone on here may be able to help me out, i have set it up so the the blog is not on the home page but sits on a different page e.g. /blog/.
The permalinks for posts were set to /%category%/%postname%/ and were displaying as so site.com/category/postname, i wanted it to keep the blog prefix (site.com/blog/category/postname) so i changed the permalink structure to /blog/%category%/%postname%/ to work.
Now i want to remove the category base, i have done this by putting /. in the field but this removes /blog/ from my permalink. Is there any way around this?
Sorry if i have missed out any crucial information, let me know and i will add it!
Thanks a lot!
Try this plugin http://wordpress.org/extend/plugins/wp-no-category-base/
You can learn more about this plugin http://tutslog.com/tutorials/plugin-wordpress-supermalink-139.html if you want add dynamic permalink content
I have a page with a URL like
http://www.example.com/subcategory/therealthing.
This URL should stay like this but I need to create a shortcut that looks like
http://www.example.com/realthing
That shortcut should take the user to the site with the longer URL
A method that is SEO friendly would be perfect.
What's the easiest way if I don't want to change the permalink of the original site? I guess htaccess won't work for this?
Funny, I just answered something very similar to this. See the redirection plugin. Much easier than editing your .htaccess file yourself. Particularly if you need to do it a lot.
Take a look at the feature list for the redirection plugin. This allows you to setup redirects to other pages or do pass through redirections.
If you are happy with redirects .. then you can add this kind of rule into your htaccess file (but it has to be placed before WordPress rules -- if not sure/does not work -- provide your current whole .htaccess):
RewriteRule ^realthing$ /subcategory/therealthing [R=301,L]
or you can try
RedirectMatch 301 ^/realthing$ /subcategory/therealthing
Redirection is not a more reliable solution. You should use this plugin in which you can customize every permalink without any problem https://wordpress.org/plugins/custom-permalinks/
Im wondering if someone could give me a bit of advice.
Im looking for a plugin that allows me to rename URL's of posts and pages on the actual page itself, so they can go from:
http://www.example.com/post-here/
to something like
http://www.example.com/my-name/my-lastname/post-here
if that makes sense, i want to be able to name these URL's anything i want from within the post/page page.
Cheers
In the admin, inside options click on permalink.
Then you're able to set URL'S, to make something like your example this try :
/%author%/%postname%/
You can read the documentation to see all options
I'm not sure I completely understand what you mean but why don't use the redirection plug-in?