.htaccessurl-rewritingdnshostingdomain-mapping

Writing a htaccess file - RewriteBase?


Right I'll try and explain my situation as thoroughly as possible while also keeping it brief...

I'm just starting out as a web designer/developer, so I bought the unlimited hosting package with 123-reg. I set up a couple of websites, my main domain being designedbyross.co.uk. I have learnt how to map other domains to a folder within this directory. At the minute, one of my domains, scene63.com is mapped to designedbyross.co.uk/blog63 which is working fine for the home page. However when clicking on another link on scene63.com for example page 2, the URL changes to designedbyross.co.uk/blog63/page2...

I have been advised from someone at 123-reg that I need to write a .htaccess file and use the RewriteBase directive (whatever that is?!) I have looked on a few websites to try and help me understand this, including http://httpd.apache.org/docs/2.0/mod/mod_rewrite.html however it all isn't making much sense at the moment.

Finally, scene63.com is a wordpress site, whether that makes any difference to how the htaccess file is structured I'm not sure...

Any help will be REALLY appreciated - Thanks.


Solution

  • It turned out to be a 123-reg problem at the time not correctly applying changes to the DNS.