1
hdso
xNews 1.71 - How to avoid duplicate CONTENT with SEO on
  • 2012/5/24 7:37

  • hdso

  • Just popping in

  • Posts: 9

  • Since: 2012/5/6 1


Hi,

i'm using the great module Xnews but i would like to know how to avoid duplicate content when using SEO option enabled.

Exemple :
my original article title is : My test
the generated SEO url is : mydomaine.com/xNews/article.1/my-test.htm

if i change the URL right after the /article.1/ like this for example :
mydomaine.com/xNews/article.1/anything-will-work.htm

i will always access my original article "my test".

And this is a problem because anybody can modify your URL.
This can create duplicate content if it is posted on a forum, etc...

Any idea how to fix it ?
The idea would be to check if the right title of the article is coming after /article.1/
If not the visitor is redirected to a default page.

And the problem is the same with category path
the right title of the category should come right after the category path.


Thank you.



2
dfeit
Re: xNews 1.71 - How to avoid duplicate CONTENT with SEO on
  • 2012/6/7 16:51

  • dfeit

  • Just popping in

  • Posts: 2

  • Since: 2012/5/7 1


From the search engines' perspective, a solution to this would be to add a "canonical" meta-tag to the page. That way, no matter what URL brought the visitor to the page, the meta-tag will tell the search engines that the original content resides at the URL you want it under.

For your example, the tag might be:
<link rel="canonical" href="http://www.mydomaine.com/xNews/article.1/my-test.htm" />
-------------------------------------------
MailPix - Personalized Gifts

3
sova
problem in xNews 1.71
  • 2012/6/28 6:33

  • sova

  • Not too shy to talk

  • Posts: 149

  • Since: 2010/4/13


In this module
The following errors across
Fatal errorCall to a member function mid() on a non-object in /home/sova/domains/sova.ir/public_html/modules/xnews/include/functions.php on line 501

Error
Undefined variableheight in file /modules/xnews/blocks/news_latestnews.php in line 124


Module version: 1.71


The new version has been released?

4
sova
Re: xNews 1.71 - How to avoid duplicate CONTENT with SEO on
  • 2012/6/29 7:38

  • sova

  • Not too shy to talk

  • Posts: 149

  • Since: 2010/4/13


Hello
The problem across my site
Site as normal (for guests) is displayed without problem. But when users are logged (only Home page) will show white. I (webmaster) do not have this problem.

Error:
Fatal errorCall to a member function mid() on a non-object in /home/sova/domains/sova.ir/public_html/modules/xnews/include/functions.php on line 501

Error
Undefined variableheight in file /modules/xnews/blocks/news_latestnews.php in line 124


Login

Who's Online

125 user(s) are online (82 user(s) are browsing Support Forums)


Members: 0


Guests: 125


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Apr 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits