Support » Fixing WordPress » wordpress in a directory how do I get to it using straight domain name.

  • my blog is at

    I have put a redirect on using cpanel to get to this.

    however this messes up any subdomains as everything get redirected to that ends

    Is there another way to create a redirect that is search engine friendly, that will allow me to have a subdomain say that will not redirect to /success?

Viewing 2 replies - 1 through 2 (of 2 total)
  • 1. In Administration > Options > General change your Blog address (URL) to

    2. Add this index.php file to your web-root folder:

    /* Short and sweet */
    define('WP_USE_THEMES', true);

    3. Update your permalinks via Administration > Options > Permalinks.

    Even though the actual WordPress files reside in a sub-directory, an index.php file is in your webroot, and the Options->General admin page Blog address (URL) is changed so that WordPress acts as your main page. This particular setup is described at: Giving_WordPress_Its_Own_Directory.

    I did this on my siteand it works great but I am now realizing that google is crawling the pages and giving links to the original directory, which results in a 404 since the htaccess has rewritten my urls. OH NO!


    real location of files:

    after htaccess change use urls like:

    google search result has link to:
    which now returns a 404 because of htaccess

    any idea on what to do about this?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘wordpress in a directory how do I get to it using straight domain name.’ is closed to new replies.