HTML Logo by World Wide Web Consortium (www.w3.org). Click to learn more about our commitment to accessibility and standards.

Moving forward with Composr

ocPortal has been relaunched as Composr CMS, which is now in beta. ocPortal 9 will be superseded by Composr 10.

Head over to compo.sr for our new site, and to our migration roadmap. Existing ocPortal member accounts have been mirrored.


Problem accessing

Login / Search

 [ Join | More ]
 Add topic 
Posted
Rating:
#56643 (In Topic #12319)
Avatar

Fan in action

You are accessing via www.mydomain.com, but the domain in the base URL is mydomain.com. Accessing from the wrong domain will cause SEO problems, and Javascript security errors. You might want to set up a redirect on your web server to guarantee visitors reach the correct domain.



I got this error, how will I fix it?
Back to the top
 
Posted
Rating:
#56651
Avatar

Fan in action

The base domain (domain.com) and the www domain (www.domain.com) are effectively the same thing, but ocPortal is only designed to work with one domain at a time, so you should choose which one to use.

If you're using a Linux-based server, you can simply add/amend some lines in your .htaccess file to create the redirect:

Redirect incomming links with .htaccess to prevent duplicate content penalties - enarion.net

If I've helped you, please click 'points' and show your appreciation!
Back to the top
 
1 guests and 0 members have just viewed this: None
Control functions:

Quick reply   Contract

Your name:
Your message: