[solved] Duplicate content

Help with getting the CMS CORE package up and running. This does not include 3rd party modules, PHP scripts, anything downloaded via module manager or from any external source.
Locked
Capone
New Member
New Member
Posts: 3
Joined: Thu Sep 17, 2009 9:56 am

[solved] Duplicate content

Post by Capone »

Hi!

Im running CMS Made Simple 1.5.4 "Carolina" and I have the following problem which seems like a simple problem to solve but I have spent a bunch of hours trying to fix this and haven't found any solution for this.

I'm using pretty url and the problem is that I have two url to the same page which is bad for SEO and I only want to make it one page, one url.

Problem:
I have set a page as as default and when I surf to www.example.com it shows my default page.
The problem is that in my "table of contents" the link to my default page is www.example.com/lang/my_default_page which gives it two links to the same page :(

I have tried to use Redirekt 301 in .httpaccess on my local test server.

Code: Select all

Redirect 301 / http://localhost//lang/my_default_page 

But it cant load the page and the url turns into:

Code: Select all

http://localhost//lang/my_default_pagelang/my_default_pagelang/my_default_pagel....
I have also tried to change the config.php to

Code: Select all

$config['root_url'] = 'http://localhost//lang/my_default_page'
but then it lost all the style sheets.

I hope you can help me with this because now I'm clueless  ???
Last edited by Capone on Fri Oct 09, 2009 10:59 am, edited 1 time in total.
replytomk3

Re: Duplicate content

Post by replytomk3 »

Why does

Code: Select all

http://localhost//lang/my_default_page
has two slashes //?
Last edited by replytomk3 on Thu Sep 17, 2009 1:41 pm, edited 1 time in total.
Capone
New Member
New Member
Posts: 3
Joined: Thu Sep 17, 2009 9:56 am

Re: Duplicate content

Post by Capone »

I have solved it by making a new default page and from that page make an automatic redirect with a redirect UDT: http://forum.cmsmadesimple.org/index.ph ... 87204.html
Locked

Return to “[locked] Installation, Setup and Upgrade”