Title: 404 error on permalinks
Last modified: August 18, 2016

---

# 404 error on permalinks

 *  Geek
 * [21 years, 11 months ago](https://wordpress.org/support/topic/404-error-on-permalinks/)
 * everytime i go to the permalink, 404 error occur. why is that? how can i fix 
   it? here’s my site [http://blogs.geminigeek.uni.cc](http://blogs.geminigeek.uni.cc)

Viewing 4 replies - 1 through 4 (of 4 total)

 *  [greghaspants](https://wordpress.org/support/users/greghaspants/)
 * (@greghaspants)
 * [21 years, 11 months ago](https://wordpress.org/support/topic/404-error-on-permalinks/#post-66807)
 * Hmm. What does your .htaccess file look like?
 *  Thread Starter Anonymous
 * [21 years, 11 months ago](https://wordpress.org/support/topic/404-error-on-permalinks/#post-66808)
 * `
    <IfModule mod_rewrite.c> RewriteEngine On RewriteBase /wp/ RewriteRule ^archives/
   category/(.*)/(feed|rdf|rss|rss2|atom)/?$ /wp/wp-feed.php?category_name=$1&feed
   =$2 [QSA] RewriteRule ^archives/category/?(.*) /wp/index.php?category_name=$1[
   QSA] RewriteRule ^archives/author/(.*)/(feed|rdf|rss|rss2|atom)/?$ /wp/wp-feed.
   php?author_name=$1&feed=$2 [QSA] RewriteRule ^archives/author/?(.*) /wp/index.
   php?author_name=$1 [QSA] RewriteRule ^archives/([0-9]{4})?/?([0-9]{1,2})?/?([
   _0-9a-z-]+)?/?([0-9]+)?/?$ /wp/index.php?year=$1&monthnum=$2&name=$3&page=$4 [
   QSA] RewriteRule ^archives/([0-9]{4})/([0-9]{1,2})/([_0-9a-z-]+)/(feed|rdf|rss
   |rss2|atom)/?$ /wp/wp-feed.php?year=$1&monthnum=$2&name=$3&feed=$4 [QSA] RewriteRule
   ^archives/([0-9]{4})/([0-9]{1,2})/([_0-9a-z-]+)/trackback/?$ /wp/wp-trackback.
   php?year=$1&monthnum=$2&name=$3 [QSA] RewriteRule ^feed/?([_0-9a-z-]+)?/?$ /wp/
   wp-feed.php?feed=$1 [QSA] RewriteRule ^comments/feed/?([_0-9a-z-]+)?/?$ /wp/wp-
   feed.php?feed=$1&withcomments=1 [QSA] </IfModule>  it doesnt work if i remove
   the “<ifmodeule>” thing…..
 *  [greghaspants](https://wordpress.org/support/users/greghaspants/)
 * (@greghaspants)
 * [21 years, 11 months ago](https://wordpress.org/support/topic/404-error-on-permalinks/#post-66810)
 * The only differences I can spot between yours and mine are the following:
    - The “ifmodule” thing, which as you mentioned, is necessary.
    - The “/wp” at the beginning of every URL.
 * So, I don’t really know what to say. It may be that your hosting provider doesn’t
   allow rewrite rules, but that would seem a bit silly to me.
    I’m probably miles
   off. The only thing I could possibly suggest is to use the permalink rewriting
   that does not use .htaccess. That’s where you have index.php between your site’s
   URL and the permalink path. Instructions are somewhere within the software, I
   think. But other that, I don’t know.
 *  [Mark (podz)](https://wordpress.org/support/users/podz/)
 * (@podz)
 * [21 years, 11 months ago](https://wordpress.org/support/topic/404-error-on-permalinks/#post-66822)
 * I agree with greghaspants
    It is the permalink rules that are wrong – click on
   your archives link to see. The Base you have /wp/ is wrong as you do not have
   that directory, so I would try removing that (have just / as Base) and remove
   all the other /wp/ too.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘404 error on permalinks’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 4 replies
 * 3 participants
 * Last reply from: [Mark (podz)](https://wordpress.org/support/users/podz/)
 * Last activity: [21 years, 11 months ago](https://wordpress.org/support/topic/404-error-on-permalinks/#post-66822)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
