ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

New EE install: URL changes but content doesn't, Please help!

August 14, 2008 4:25pm

Subscribe [2]
  • #1 / Aug 14, 2008 4:25pm

    Knuckle007

    6 posts

    Forum,

    In my new installation of EE, and no matter what link I click on on our new domain, http://2dstudio.ca, the URL changes but the content remains as the default template “index” content.

    I think the problem might be in that I have code in the “.htaccess” file that redirects the “www.2dstudio.ca” prefix to simply “http://2dstudio.ca”.

    Note: “index.php” has been renamed “go” so the existing code in the .htaccess file is as follows:

    RewriteEngine On
    RewriteCond %{HTTP_HOST} ^www.(.+)$ [NC]
    RewriteRule ^(.*)$ http://%1/$1 [R=301,L]
    <Files go>
    ForceType application/x-httpd-php
    </Files>
    DirectoryIndex go index.php index.shtml index.html index.htm

    P.S. It turns out the way my shared hosting works, if I don’t have the redirect in there, the pages will break with the “www” prefix when it tries to redirect. Frustrating. Thanks in advance!

    I’m honestly at my whit’s end!

    Knuckle007

  • #2 / Aug 14, 2008 4:50pm

    Ingmar

    29245 posts

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases