Title: Custom permalink 404 Error
Last modified: August 20, 2016

---

# Custom permalink 404 Error

 *  Resolved [yeasin33](https://wordpress.org/support/users/yeasin33/)
 * (@yeasin33)
 * [14 years, 9 months ago](https://wordpress.org/support/topic/custom-permalink-404-error/)
 * I use sitename.com/postname
    this is giving me 404 error. In my other sites i
   always use this but now my new site giving this error. Please help

Viewing 15 replies - 1 through 15 (of 20 total)

1 [2](https://wordpress.org/support/topic/custom-permalink-404-error/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/custom-permalink-404-error/page/2/?output_format=md)

 *  [Adam Losier](https://wordpress.org/support/users/bizzylabs/)
 * (@bizzylabs)
 * [14 years, 9 months ago](https://wordpress.org/support/topic/custom-permalink-404-error/#post-2248740)
 * You probably already done step one but verify that your permalink custom field
   reads /%postname%/
 * My second thought if your using certain hosting providers (I.E. GoDaddy) and 
   this is a new site, or one that has never used the .htaccess before it can take
   up to 1 hour for the changes to reflect on your site.
 * I know that sounds strange but here is the source – [http://help.godaddy.com/article/1082?locale=en](http://help.godaddy.com/article/1082?locale=en)
   it states “Changes made to an existing .htaccess file will be seen immediately.
   When creating new .htaccess files or deleting existing .htaccess files, you might
   not see changes for up to an hour.”
 * I’ve found that issue to sometimes occur but most of the time it doesn’t, its
   quite strange to me but that may be what’s happening if you run other sites that
   work with those settings and this is a new one that doesn’t.
 *  Thread Starter [yeasin33](https://wordpress.org/support/users/yeasin33/)
 * (@yeasin33)
 * [14 years, 9 months ago](https://wordpress.org/support/topic/custom-permalink-404-error/#post-2248756)
 * I cant just believe what i am seeing. Whenever i dont use a permalink base, i
   am getting the error. whatever the post type is.
 * It maybe post, page, tag or category. whatever whatever. but if i use a permalink
   base. everything is ok. I am using bluehost and their built in simplescripts 
   function to install wordpress. how ridiculous!!! i have a site up for 2 days 
   but the problem is still on. No problem with htaccess i guess. Problem is somewhere
   else.
 *  [Big Bagel](https://wordpress.org/support/users/big-bagel/)
 * (@big-bagel)
 * [14 years, 9 months ago](https://wordpress.org/support/topic/custom-permalink-404-error/#post-2248760)
 * Read up on permalink usage [here](http://codex.wordpress.org/Using_Permalinks)(
   specifically, the [structure tags](http://codex.wordpress.org/Using_Permalinks#Structure_Tags)
   sections). If you use only /%postname%/ as your custom permalink setting it can
   cause various issues. One of the problems I’ve seen in the past is WordPress 
   getting confused and producing random 404’s.
 *  Thread Starter [yeasin33](https://wordpress.org/support/users/yeasin33/)
 * (@yeasin33)
 * [14 years, 9 months ago](https://wordpress.org/support/topic/custom-permalink-404-error/#post-2248768)
 * I have checked that out. Points that hitting my mind.
 * 1. I was using that permalink for a long time. suddenly what happened.
 * 2. Pages are also generating 404 error. what can be done in this case. There 
   is no way left to edit page permalink.
 * 3. I think this is a recent created problem maybe for any update.
 * Thanks for your reply. Hope you would help me out
 *  [bh_WP_fan](https://wordpress.org/support/users/bh_wp_fan/)
 * (@bh_wp_fan)
 * [14 years, 9 months ago](https://wordpress.org/support/topic/custom-permalink-404-error/#post-2248786)
 * What is your site URL?
    What code do you have in your .htaccess? What exactly…
   very exactly … do you have your Permalinks set and saved to?
 *  [Big Bagel](https://wordpress.org/support/users/big-bagel/)
 * (@big-bagel)
 * [14 years, 9 months ago](https://wordpress.org/support/topic/custom-permalink-404-error/#post-2248790)
 * Using only /%postname%/ will only cause problems like this when you have custom
   post types or a post uses a title similar to a category, page, etc. You can go
   a long time (indefinitely if you’re very careful) before problems start popping
   up.
 * Try switching to one of the non-custom permalink settings. At the very least 
   it’ll tell you if that’s where the problem lies.
 *  Thread Starter [yeasin33](https://wordpress.org/support/users/yeasin33/)
 * (@yeasin33)
 * [14 years, 9 months ago](https://wordpress.org/support/topic/custom-permalink-404-error/#post-2248812)
 * My permalink custom structure is ===> /%postname%
 * htaccess is default as wordpress installed
 * Right now i have re installed wordpress 3.2.1 in one of my old site. and the 
   same thing happened for that site also.
    I must use a base in each and every 
   permalink. This is happening even in a just launched site where post is only 
   Hello world! (wordpress default :p)
 * I do never create page. and my post permalink are too bigger than the category
   names. So there is no chance of collision. But unfortunately that is being obvious.
 * Is there any chance in hosting. I am using bluehost shared hosting
 *  Thread Starter [yeasin33](https://wordpress.org/support/users/yeasin33/)
 * (@yeasin33)
 * [14 years, 9 months ago](https://wordpress.org/support/topic/custom-permalink-404-error/#post-2248813)
 * I do believe, if you guys try this in your own site, same thing would happen 
   in your fate also 🙁
 *  [Adam Losier](https://wordpress.org/support/users/bizzylabs/)
 * (@bizzylabs)
 * [14 years, 9 months ago](https://wordpress.org/support/topic/custom-permalink-404-error/#post-2248815)
 * You stated “I must use a base in each and every permalink.” This is a .htaccess
   file issue with mod_rewrite, most likely caused by your host. Double verify your.
   htaccess file looks exactly like this.
 *     ```
       # BEGIN WordPress
       <IfModule mod_rewrite.c>
       RewriteEngine On
       RewriteBase /
       RewriteCond %{REQUEST_FILENAME} !-f
       RewriteCond %{REQUEST_FILENAME} !-d
       RewriteRule . /index.php [L]
       </IfModule>
       # END WordPress
       ```
   
 * If it doesn’t or is not being generated it may be an issue with your hosts server
   settings and you can refer to [http://codex.wordpress.org/Using_Permalinks#Fixing_.htaccess_Generation_Issues](http://codex.wordpress.org/Using_Permalinks#Fixing_.htaccess_Generation_Issues)
 * You can also try to put a trailing slash onto the end of your permalink so it
   looks exactly like /%postname%/
 * But based upon you saying “I must use a base in each and every permalink.” I 
   can almost say for certain its a mod_rewrite issue in your .htaccess file or 
   your host is doing something funny with there Apache settings.
 *  Thread Starter [yeasin33](https://wordpress.org/support/users/yeasin33/)
 * (@yeasin33)
 * [14 years, 9 months ago](https://wordpress.org/support/topic/custom-permalink-404-error/#post-2248816)
 * Thank you! You are exact to the point.
 * My hosting company is constantly changing my htaccess and pulling me down :p
   
   The htaccess code is be converted to
 *     ```
       # 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 have just installed 3.1 in another site. which is working fine with permalink`/%
   postname`
    Address [http://en.intellispell.com/](http://en.intellispell.com/)
 * [Main Site ](http://intellispell.com/) is still facing the problem.
 * To show you the error i am keeping the permalink
 *  [Big Bagel](https://wordpress.org/support/users/big-bagel/)
 * (@big-bagel)
 * [14 years, 9 months ago](https://wordpress.org/support/topic/custom-permalink-404-error/#post-2248818)
 * That rule (`RewriteRule ^index\.php$ - [L]`) was added to the default WordPress.
   htaccess rules sometime around version 3.0. Your rules look fine.
 *  Thread Starter [yeasin33](https://wordpress.org/support/users/yeasin33/)
 * (@yeasin33)
 * [14 years, 9 months ago](https://wordpress.org/support/topic/custom-permalink-404-error/#post-2248819)
 * I must say problem is in wordpress 3.2.1
 * Site installed and problem with
 * > v3.2.1
 * [http://intellispell.com/](http://intellispell.com/)
 * Working fine With
 * > v3.1.2
 * [http://en.intellispell.com/](http://en.intellispell.com/)
 *  [Adam Losier](https://wordpress.org/support/users/bizzylabs/)
 * (@bizzylabs)
 * [14 years, 9 months ago](https://wordpress.org/support/topic/custom-permalink-404-error/#post-2248822)
 * Hmm that is very strange that 3.2.1 doesn’t work while 3.1.2 does, its possible
   there was a bug that they fixed with permalink’s that solved your issue.
 * P.S. Big Bagel is correct about that extra line in the .htaccess that was my 
   bad above.
 *  Thread Starter [yeasin33](https://wordpress.org/support/users/yeasin33/)
 * (@yeasin33)
 * [14 years, 9 months ago](https://wordpress.org/support/topic/custom-permalink-404-error/#post-2248927)
 * At Last I found it out. This Simple mistake had taken away my sleep as well as
   many hours of my life.
 * The problem was, i registered two widgets but didn’t use them in the theme. This
   function was responsible for everything.
 *  Thanks allah, i found it out. Thank you guys for being so supportive
 *  Thread Starter [yeasin33](https://wordpress.org/support/users/yeasin33/)
 * (@yeasin33)
 * [14 years, 9 months ago](https://wordpress.org/support/topic/custom-permalink-404-error/#post-2248934)
 * Actually not.
 * Whatever the trick is, that is working for few minutes only.
 * Someone please please please help me out
 * Nothing is linking without permalink base.
 * HEEEEEEEEEEEEEEEELLLLLLLLLLLLLLLLLLLLLLLLLLLPPPPPPPPPPPPPPPPPPPPPPPPPPP

Viewing 15 replies - 1 through 15 (of 20 total)

1 [2](https://wordpress.org/support/topic/custom-permalink-404-error/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/custom-permalink-404-error/page/2/?output_format=md)

The topic ‘Custom permalink 404 Error’ is closed to new replies.

## Tags

 * [permalink](https://wordpress.org/support/topic-tag/permalink/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 20 replies
 * 6 participants
 * Last reply from: [chrissy.nesbitt](https://wordpress.org/support/users/chrissynesbitt/)
 * Last activity: [14 years, 8 months ago](https://wordpress.org/support/topic/custom-permalink-404-error/page/2/#post-2248972)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
