The forum is here for legacy reasons. No new posts will be created. User registration is disabled! If you have any questions, please email us or check https://www.adultscriptpro.com for more details!
You are not logged in.
Hello,
I know the tag looks like this: <link rel=”canonical” href=”http://www.bablablablabla.com/whatever” />
and goes in the head of the page.
What are the name of the folders where I can find the <head> and place the tag?
Thank you in advance.
Offline
templates/your-template/header.tpl.php
Adult Scripts: Adult Script Pro - Adult Search Script
Adult Advertising/Traffic: Plug Rush - EXOClick - PopAds
Offline
I have many duplicate pages :: Duplicate title tags, Duplicate Short meta descriptions and Duplicate meta descriptions. I know we can use the
<link rel="canonical" href="http://www.domain.com/category/"/> to eliminate duplicate content, but where in the head to I paste this info?
I do not want all categories going to my home page through canonical?
Any help on this is appreciated?
Thanks in advance
Offline
Edit /modules/video/components/category.php and add:
$tpl->canonical = BASE_URL.'/'.$slug.'/'.$order.'/'.$timeline.'/'.$page.'/';
Adult Scripts: Adult Script Pro - Adult Search Script
Adult Advertising/Traffic: Plug Rush - EXOClick - PopAds
Offline
OK I added the code starting on line 10 - looks like this ::
public function render()
{
$tpl->canonical = BASE_URL.'/'.$slug.'/'.$order.'/'.$timeline.'/'.$page.'/';
$args = $this->get_query(true);
$slug = $args['slug'];
$order = $args['order'];
.....
.....
I will keep the forum updated with results.
Cheers!
Offline
You do not need to edit the header.tpl.php file. If a canonical variable is defined for the template it will automatically create the canonical header tag.
Adult Scripts: Adult Script Pro - Adult Search Script
Adult Advertising/Traffic: Plug Rush - EXOClick - PopAds
Offline
I do not know how google counts/checks the duplicate content. If the canonical tag is good, exact same pages (with different urls) should only have one valid canonical url. Can you list a few of the duplicate pages? Please not that if you check most of the porn sites out there have duplicate titles, descriptions for a lot of pages...
Adult Scripts: Adult Script Pro - Adult Search Script
Adult Advertising/Traffic: Plug Rush - EXOClick - PopAds
Offline
Here are some examples :: (these are located with Google Webmaster tools under HTML improvements)
NOW PLAYING! Passion-HD videos. WATCH the BEST HD Pornstar Erotic Sex Videos on Xsporntv.com.
/passionhd/
/passionhd/longest/
/passionhd/popular/
/passionhd/rated/
/passionhd/watched/
------------
Awesome High Definition Porn movies and HD Erotica Sex videos from the best brands in the porn busin
/
/discussed/59/
/discussed/
/popular/20/
/pornstar/
/pornstar/favorites/
/rated/
/recent/2/
/recent/3/
/recent/
/search/video/evangelion/
/user/login/
/user/signup/
-------------------
NOW PLAYING Joymii Videos! Only the BEST of Joymii.com Erotic Sex Videos on Xsporntv.com
/joymii/
/joymii/discussed/3/
/joymii/discussed/
/joymii/longest/2/
/joymii/longest/3/
/joymii/longest/
/joymii/popular/3/
/joymii/popular/
/joymii/rated/2/
/joymii/rated/3/
/joymii/recent/2/
/joymii/watched/
and the list goes on....(263 pages of duplicate content) not sure what can be done? - eliminating duplicate content helps with SEO / page rank juice.
Offline
Hmm....there should be different titles for the main pages, however for the sub-pages, there is no separate title. I could add the page if you want.
Adult Scripts: Adult Script Pro - Adult Search Script
Adult Advertising/Traffic: Plug Rush - EXOClick - PopAds
Offline
How did you fix this issue, i need the fix asap.
Here are some examples :: (these are located with Google Webmaster tools under HTML improvements)
NOW PLAYING! Passion-HD videos. WATCH the BEST HD Pornstar Erotic Sex Videos on Xsporntv.com.
/passionhd/
/passionhd/longest/
/passionhd/popular/
/passionhd/rated/
/passionhd/watched/------------
Awesome High Definition Porn movies and HD Erotica Sex videos from the best brands in the porn busin
/
/discussed/59/
/discussed/
/popular/20/
/pornstar/
/pornstar/favorites/
/rated/
/recent/2/
/recent/3/
/recent/
/search/video/evangelion/
/user/login/
/user/signup/-------------------
NOW PLAYING Joymii Videos! Only the BEST of Joymii.com Erotic Sex Videos on Xsporntv.com
/joymii/
/joymii/discussed/3/
/joymii/discussed/
/joymii/longest/2/
/joymii/longest/3/
/joymii/longest/
/joymii/popular/3/
/joymii/popular/
/joymii/rated/2/
/joymii/rated/3/
/joymii/recent/2/
/joymii/watched/and the list goes on....(263 pages of duplicate content) not sure what can be done? - eliminating duplicate content helps with SEO / page rank juice.
Offline
If you upgrade to a recent version this is fixed.
Adult Scripts: Adult Script Pro - Adult Search Script
Adult Advertising/Traffic: Plug Rush - EXOClick - PopAds
Offline
Can you email the the fix so i can fix it, need those errors gone.
Offline
This is fixed in recent versions, every page has its own title/desc and also adds the page to the title.
Adult Scripts: Adult Script Pro - Adult Search Script
Adult Advertising/Traffic: Plug Rush - EXOClick - PopAds
Offline
fixed in 2.2.0 or 2.2.1? having same errors in webmaster tools.
Offline
The canonical tag problem is fixed in version 2.x. If this does not work on your setup, then there might be something wrong with the install or with the language file. I have just tested my own site to make sure, and it has 3 duplicate titles (for /, signup/ and /feedback/, which i will fix in 2.2.2).
Adult Scripts: Adult Script Pro - Adult Search Script
Adult Advertising/Traffic: Plug Rush - EXOClick - PopAds
Offline