View Issue Details

IDProjectCategoryView StatusLast Update
0019638phpList 3 applicationGeneralpublic13-02-19 12:28
ReporterPeteh2 
PrioritynormalSeverityfeatureReproducibilityN/A
Status newResolutionopen 
Product Version3.3.6 
Target VersionFixed in Version 
Summary0019638: Duplicate page title marking bad impact in SEO
DescriptionDuplicate page title marking bad impact in SEO and need to resolve it. As I have installed phpList at: http://example.com/
So Subscribe page url is here: http://example.com/?p=subscribe&id=1
Now When I change my page title in english.inc

$strSubscribeInfo = ‘Subscribe Now…’;
$strRequired = ‘required fields are marked red’;
$strSubscribeTitle = ‘Subscribe to our newsletters’;

But finally the same page title shown for both url’s: http://example.com/ & http://example.com/?p=subscribe&id=1
if the two URLs always point to identical content, then a new way to differentiate them must be introduced somehow.
This issue is prime concern for phpList developers team, if they may want to compete other newsletter software avail on Internet.
As per my view, if header+footer is common for both urls and body+page title are different for both urls ( as mentioned above), then it’s been great achievement for phpList to come ahead w.r.t other newsletter software.

Thanks
Additional Informationhttps://discuss.phplist.org/t/duplicate-page-title-marking-bad-impact-in-seo/4741/4
TagsNo tags attached.

Activities

duncanc

12-12-18 17:28

developer   ~0061557

@Peteh2 how do you want to specify the title text for each subscribe page? Would the existing title field on the "Edit a subscribe page" page be sufficient? If so then make this change to file lists/index.php

change this line, around line 541
    $html = '<title>'.$GLOBALS['strSubscribeTitle'].'</title>';
to
    $html = '<title>'.htmlspecialchars($GLOBALS['pagedata']['title']).'</title>';

Peteh2

14-12-18 11:13

reporter   ~0061573

@duncanc To change in file lists/index.php

change this line, around line 541
    $html = '<title>'.$GLOBALS['strSubscribeTitle'].'</title>';
to
    $html = '<title>'.htmlspecialchars($GLOBALS['pagedata']['title']).'</title>';

This can really change the page title for subscribe page, but "if the two URLs always point to identical content, then no-one search engine can provide SERPs (Search Engine Ranking Pages)".
Through the above method, we can really change page titles but actually that's already included on default page.
Can we differentiate contents of default page and subscribe page?

Thanks and hope we can do some good stuff for phpList.

samtuke

14-12-18 11:52

administrator   ~0061574

@peteh2 In order to avoid you having to re-apply this change every month (after new releases), and in order to share the benefit with other phpList users, please use a permanent solution to this problem and submit a GitHub pull request.

Peteh2

17-12-18 08:51

reporter   ~0061577

@samtuke I can try for permanent solution to this problem and for submitting a GitHub pull request.
@duncanc We need to differentiate contents of default page and subscribe page, so that both page contents may become different and that help various search engines to rank particular pages; but for this we have to stop that functions whose auto insert subscribe page contents into default page.

Thanks and hope we can do some good stuff for phpList.

samtuke

17-12-18 10:38

administrator   ~0061580

@suela What do you think would be the best option for user experience here?

Peteh2

23-01-19 13:34

reporter   ~0061774

@suela @samtuke We need to differentiate contents of default page and subscribe page, so that both page contents may become different and that help various search engines to rank particular pages i.e. now we are going to provide custom pages options in phplist that can compete Aweber, Mailchimp and other newsletter software. It's been BEST for both PhpList and User.