Wordpress Themes - WP Forum at BFA
There will be no more development for Atahualpa (or any other theme), and no support. Also no new registrations. I turned off the donation system. I may turn the forum to read only if it gets abused for spam. Unfortunately I have no time for the forum or the themes. Thanks a lot to the people who helped in all these years, especially Larry and of course: Paul. Take care and stay healthy -- Flynn, Atahualpa developer, Sep 2021

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme »

Remove /category/ in permalinks


  #1  
Old Sep 27, 2012, 09:25 AM
theadventurebite
 
136 posts · May 2010
Hey all,

I'm trying to find a way to remove the /category in the permalinks setup.

The Pioneer Woman's site is setup like this so I know it can be done but not sure how.

Basically it should look like a regular page does:

theadventurebite.com/food

instead of

theadventurebite.com/category/food

Ideas?

Thanks!

Dani
  #2  
Old Sep 27, 2012, 09:45 AM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
well what do you have your permalinks set to? (dashboard->settings->permalinks)
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #3  
Old Sep 27, 2012, 10:07 AM
theadventurebite
 
136 posts · May 2010
Custom structure : /%postname%/

All others blank.
  #4  
Old Sep 27, 2012, 10:09 AM
theadventurebite
 
136 posts · May 2010
Meh. I just realized all the things that are going to break if I do this.

Not worth the headache. Would be interesting to know how to do but I'll save it for a future site.
  #5  
Old Sep 27, 2012, 10:24 AM
theadventurebite
 
136 posts · May 2010
I would like to redirect the base names though so that if someone navigates to

theadventurebite.com/food

they will get kicked over to

theadventurebite.com/category/food

I've got the .htacess file and this is the contents:

Code:
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]

# uploaded files
RewriteRule ^files/(.+) wp-includes/ms-files.php?file=$1 [L]

RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^ - [L]
RewriteRule . index.php [L]
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>

# END WordPress
I'm wondering where I would put the info to do the redirect. I know this is a super picky file so I really REALLY don't want to break it.
  #6  
Old Sep 27, 2012, 10:31 AM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
well maybe someone else can answer but I am no .htaccess expert, I just muddle thru it.
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #7  
Old Sep 27, 2012, 11:05 AM
theadventurebite
 
136 posts · May 2010
You would think something like a basic redirect would have better tutorials right? I'll report back if I find a good one.
  #8  
Old Sep 27, 2012, 08:30 PM
lmilesw's Avatar
lmilesw
 
10,176 posts · Jul 2009
Central New York State USA
You could use a page redirect plugin and then create a page titled Food and redirect to the category.
__________________
~Larry (CNY Web Designs)
This site should be a membership site since it so full of good stuff.
Please consider donating which gives you access to even more good stuff.
  #9  
Old Sep 28, 2012, 03:58 AM
theadventurebite
 
136 posts · May 2010
That def is the most common way for Wordpress. I just have so many plugins that I'm trying my best to actually code things in more.
  #10  
Old Oct 4, 2012, 12:39 PM
SigWS
 
29 posts · Sep 2012
There is a plugin for wordpress that does this... I just can't remember the name of it offhand. Will update if I can find it.

Edit: it's called "WP No Category Base" -- just installed it and it works great.

Last edited by SigWS; Oct 4, 2012 at 12:43 PM.
  #11  
Old Oct 4, 2012, 04:01 PM
lmilesw's Avatar
lmilesw
 
10,176 posts · Jul 2009
Central New York State USA
Quote:
Originally Posted by theadventurebite
I just have so many plugins that I'm trying my best to actually code things in more.
Here is an interesting article on the usage of plugins.
__________________
~Larry (CNY Web Designs)
This site should be a membership site since it so full of good stuff.
Please consider donating which gives you access to even more good stuff.

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] How can i remove the Category Bar ? Karrazz Page & Category Menu Bars 2 Feb 18, 2012 12:06 PM
[SOLVED] Remove Category Description As Category Hyperlink Title msj484 Page & Category Menu Bars 7 Sep 18, 2011 02:53 PM
remove category menu? stevekay Page & Category Menu Bars 1 Sep 1, 2010 04:39 PM
Remove title in Category Page tommy35 Header configuration & styling 2 Aug 22, 2010 06:37 PM
Remove visible category seoguy Page & Category Menu Bars 1 Apr 18, 2010 07:46 PM


All times are GMT -6. The time now is 01:09 AM.


Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.