Jump to content

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?

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.