Jump to content

Help With Site Upload


talk2toyin

Recommended Posts

Please I need to know before uploading my site only to find out the links doesn't work well. I've never uploaded a site on-line before. Must I link from page to page with a "/" before the link or not? For example: <a href="/profile.com">Profile</a>. Or will it work just fine without the forward slash? Please help.

Link to comment
https://forums.phpfreaks.com/topic/273762-help-with-site-upload/
Share on other sites

I can't tell you if you have to because I don't know what your site is, but I can say that without the leading slash the browser will think the link is relative to the current "directory". Meaning if /folder/file.html links to "profile.php" then it will try to go to /folder/profile.php.

@Requinix...thanks for the reply. Here's the kind of url I'd like get, one that shows where the user is coming from. The site is all about students getting help with their project works; they post their project topics, and I get it done...or they could simply request for one I already have done. Say I want a link that shows a user moved to a page "edit_me.php" from "profile.php"...how would my hyperlinking look like?

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.