Forums

Having trouble after having switched theme (7 posts)

  1. marcnyc
    Member
    Posted 3 weeks ago #

    I just switched from a custom made theme to a new theme I downloaded from the wordpress website...
    I am having a problem with my urls...
    none of my URLs are resolving and I get a 404 Not Found instead.
    I have Permalinks enabled (Day and Name) and in my .htaccess I have this:

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

    # END WordPress
    [/code]

    I am running 2.8.4 installed in the folder /blog/ in the root.

    Can somebody help me?

  2. mercime
    Member
    Posted 3 weeks ago #

    What's the name of the theme or site URL? If you change to default or back to your custom theme, I presume that URL's are working?

  3. marcnyc
    Member
    Posted 3 weeks ago #

    after trying things I found out that if I set both WordPress address URL and the Blog address URL to the same value (the root of the WP installation) it works but I wanted to have the URL of my website be the root of the server so that permalinks start from the domain and not from the blog installation directory
    does that make sense?

  4. marcnyc
    Member
    Posted 2 weeks ago #

    In other words I would like to find a way for the PAGES (as opposed to POSTS) created in WP to appear as if they were in the root of the server even though WP is not installed in the root. Currently my Biography WP page with permalinks is at http://www.mydomain.com/blog/biography - how can I have that URL be http://www.mydomain.com/biography???
    Is there a way to do this?
    Thanks

  5. mercime
    Member
    Posted 2 weeks ago #

    how can I have that URL be http://www.mydomain.com/biography???

    You can only have that if you upload WordPress to root (not in directory)

  6. marcnyc
    Member
    Posted 2 weeks ago #

    there is definitely no other way? I had a a custom theme once that worked this way but had smarty and was too heavily modified to be able to just switch themes

  7. marcnyc
    Member
    Posted 2 weeks ago #

    I just found the answer to my question here:
    http://codex.wordpress.org/Giving_WordPress_Its_Own_Directory

Reply

You must log in to post.

About this Topic

Tags

No tags yet.