简体   繁体   中英

Website URL only displays domain name and not the subpages

When I access my website at www.example.com , I receive the correct page. When I click on a link that accesses www.example.com/somepage.php , the server loads the new page correctly, but the URL bar still says www.example.com . In addition, the web pages do not show the <title> specified in the HTML.

Could this have something to do with my using a URL Frame instead of a URL redirect through Namecheap?

You probably just linked the domain to your website host. If you have a decent host you should be able to park the domain name in your cpanel. If you will tell me your host I will give you more information.

NameVirtualHost *:80

<VirtualHost *:80>
    DocumentRoot /www/docs/dummy-host.example.com
    ServerName dummy-host.example.com
    ServerAlias www.dummy-host.example.com
    ErrorLog @rel_logfiledir@/dummy-host.example.com-error_log
    CustomLog @rel_logfiledir@/dummy-host.example.com-access_log common
</VirtualHost>

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM