Bitcoin Forum
November 07, 2024, 08:00:36 PM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: I want to know the reason of this issue ???  (Read 149 times)
akamit (OP)
Hero Member
*****
Offline Offline

Activity: 1498
Merit: 596


View Profile
October 28, 2019, 07:32:56 PM
 #1

Recently I launched a corporate site for my company and I noticed something which I cannot fix.

I uploaded the site files to the root folder (public_html) in my cpanel perfectly I guess but today I noticed that my index.php page can be accessed with two different URLs.

Such as,
https://www.mysite.com/
https://www.mysite.com/index.php

and this is an issue of canonical url if I'm not wrong and I can see a report in google search console (Duplicate, submitted URL not selected as canonical).

I'm not sure if I've explained the issue very well. If I did then please let me know how I can remove the second URL. Google is not indexing the second URL but I still want to remove it.
examplens
Legendary
*
Online Online

Activity: 3458
Merit: 3491


Crypto Swap Exchange


View Profile WWW
October 28, 2019, 11:22:12 PM
 #2

Recently I launched a corporate site for my company and I noticed something which I cannot fix.

I uploaded the site files to the root folder (public_html) in my cpanel perfectly I guess but today I noticed that my index.php page can be accessed with two different URLs.

Such as,
https://www.mysite.com/
https://www.mysite.com/index.php

and this is an issue of canonical url if I'm not wrong and I can see a report in google search console (Duplicate, submitted URL not selected as canonical).

I'm not sure if I've explained the issue very well. If I did then please let me know how I can remove the second URL. Google is not indexing the second URL but I still want to remove it.

I am not sure where is the problem. Whatever you put in "public_html", index.php or index.html will be default page.
Usually, things like this can be solved using a .htaccess file and redirect all to www.domain.com.

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
Vod
Legendary
*
Offline Offline

Activity: 3878
Merit: 3166


Licking my boob since 1970


View Profile WWW
October 29, 2019, 12:03:21 AM
 #3

I noticed that my index.php page can be accessed with two different URLs.

Such as,
https://www.mysite.com/
https://www.mysite.com/index.php

The index.php file is the default file for any directory. 
https://bitcointalk.org/index.php
https://bitcointalk.org

You can always change the name to something else, but Google should not index it.

I post for interest - not signature spam.
https://elon.report - new B.P.I.P. Reports!
https://vod.fan - fast/free image sharing - coming Nov
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!