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.

Symlink for category not working

April 06, 2014 12:40pm

Subscribe [1]
  • #1 / Apr 06, 2014 12:40pm

    maxi

    220 posts

    Hi, I’ve set up a symlink for a new domain I created for a new product category on the existing site:

    http://www.newproduct.com >> http://www.mysite.com/newproduct

    So that it shows up as http://www.newproduct.com/one/two/... with content actually being on http://www.mysite.com/newproduct/one/two/...

    It doesn’t seem to be working though, is there anything that needs to be set up in EE admin or with the files?

    Thanks

  • #2 / Apr 10, 2014 6:04pm

    maxi

    220 posts

    Would you know how to fix the 403 Forbidden error I’m getting?

  • #3 / Apr 10, 2014 6:07pm

    maxi

    220 posts

    Could this be causing any issue in .htaccess?

    <IfModule mod_rewrite.c>
        RewriteEngine On
        # Removes index.php
        RewriteCond $1 !\.(gif|jpe?g|png)$ [NC]
        RewriteCond %{REQUEST_FILENAME} !-f
        RewriteCond %{REQUEST_FILENAME} !-d
        RewriteRule ^(.*)$ /index.php?/$1 [L]
        # If 404s, "No Input File" or every URL returns the same thing
        # make it /index.php?/$1 above (add the question mark)
    </IfModule>
    
    # Duplicate content fix
    RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /index\.php\ HTTP/ 
    RewriteRule ^index\.php$ <a href="http://www.website.com/">http://www.website.com/</a> [R=301,L] 
    
    # Force www vs non-www to avoid duplicate content on Google
    RewriteCond %{HTTP_HOST} !^ <a href="http://www.website.com">http://www.website.com</a> $
    RewriteRule ^(.*)$ <a href="http://www.website.com/$1">http://www.website.com/$1</a> [R=301]

     

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

ExpressionEngine News!

#eecms, #events, #releases