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
Related
I want to add parent to posts in wordpress, for that I need to change the permalinks, but I am not able to figure it out.
for e.g. if the current url is www.abcd.com/postname
I want it like this, www.abcd.com/posts/postname
Thank you in advance
First, you need to visit the Settings » Permalinks page in your WordPress admin. There you need to click on the ‘custom structure’ option under the common settings area.
Next, you need to add /%category%/%postname%/ in the field next to the custom structure.
I have used /%category%/ just as an example. Change it accordingly.
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?
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
My current blog is www.bostonsbettah.com and my current permalink set-up is http://www.bostonsbettah.com/%category%/%postname%/
Now, in a perfect world, the a post should appear as something like www.bostonsbettah.com/bostonbruins/boston-bruins-1st-line-playing-like-a-1st-line/ and that should take you to the post. When I click on the page title at the top such as "Bruins Blog", it should take me to www.bostonsbettah.com/bostonbruins/ that has an archive of all posts categorized as "Bruins". Currently, however, every page besides the home page is a 404 error.
Now I know I can fix something in the .htaccess file and I know how to access it, but I don't want to mess with it as I don't know how to code. Is there a fix someone can provide that will allow me to fix my website? Thank you in advance.
Never,ever,ever put your blog URL inside custom permalink structure!. You must use one of the structure tags, or a combination of tags only.
Read the documentation first.
I have my blog on blog.mydomain.com and I am realizing that I want to be able to grab entries and put in a section on my www.mydomain.com
Is there a way to do that? Perhaps a widget or plugin?
May be this will help you. : Display Wordpress content from Outside Wordpress