Webmastersite.net
Register Log In

URL links do not work
click on URL and page opens with error

Comments on URL links do not work

DusX
Member

Usergroup: Customer
Joined: Jan 11, 2006
Location: Canada

Total Topics: 7
Total Comments: 24
DusX
Posted Jan 11, 2006 - 7:29 PM:

URL links do not work
click on URL and page opens with error
the error is: No such content exists. The link you are following seems to have been incorrect.

also the 'title' link takes you to the same page: mysite.com//links/detail/2
the 2 changes depending on the link.

but the 'details' link works fine.. and the 'comments'



Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
Posted Jan 12, 2006 - 5:12 AM:

mysite.com//links/detail/2

This indicates there's something wrong with your directory url setting (a trailing slash) or perhaps with your rewrite_base value.
DusX
Member

Usergroup: Customer
Joined: Jan 11, 2006
Location: Canada

Total Topics: 7
Total Comments: 24
DusX
Posted Jan 12, 2006 - 6:03 AM:

most of my site links work.
the only ones I have found that do not are the URL and Titles.

I did have previously the error with redirect that my site wouldn't load unless it had a trailing /, I then edited the .htaccess and everything seemed to work fine.

do you think this could be related?
DusX
Member

Usergroup: Customer
Joined: Jan 11, 2006
Location: Canada

Total Topics: 7
Total Comments: 24
DusX
Posted Jan 12, 2006 - 6:17 AM:

Paul wrote:
mysite.com//links/detail/2.


oops my mistake.... the actual links do not have 2 // but rather appear as
mysite.com/links/detail/1

so I am guessing that it must be something other than my paths??
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
Posted Jan 14, 2006 - 9:07 AM:

Does link.php?action=detail&id=2 work?
DusX
Member

Usergroup: Customer
Joined: Jan 11, 2006
Location: Canada

Total Topics: 7
Total Comments: 24
DusX
Posted Jan 14, 2006 - 9:47 AM:

yes, that works. Gets me to the Detail page.
but in the detail view the Title and URL links both link to:
http://mysite.com/links/detail/1

I expect these links are wrong. I supose that at this point (detail view) that both links should be the same, to open the links site.

The only other way I can get to the detail page it to use the 'detail' text link under the short description.
these links look like this: www.mysite.com/links/links/LinkName-LinkID#.html

(the fist links dir is where I have the app installed.. the second is a setting enter correct? Where can I edit it?)

Does this give you a better understanding of what is happening?


Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
Posted Jan 14, 2006 - 3:56 PM:

Since the regular-style links work, you have a problem your URL rewriting. Normally one would think that'd have to be an issue in the .htaccess file, though if the rewrite_base were wrong then the name-id form and the categories shouldn't work either.

these links look like this: www.mysite.com/links/links/LinkName-LinkID#.html

/links/links? Is your directory is in a /links subdirectory itself?
DusX
Member

Usergroup: Customer
Joined: Jan 11, 2006
Location: Canada

Total Topics: 7
Total Comments: 24
DusX
Posted Jan 15, 2006 - 9:40 AM:

yes, my WSN site is in mysite.com/links

I remember setting the name for the details path at one point before really getting to play with how the site would work.. can you tell me where I find that setting.. I would rather have it set to details rather than links so that it would read mysite.com/links/details rather than mysite.com/links/links

the only change I made to the .htaccess file was to edit the base path due to an issue with the trailing forward slash.

Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
Posted Jan 19, 2006 - 2:35 PM:

Tested and confirmed that even in a directory named /links i only get your message when the rewrite_base is wrong.
DusX
Member

Usergroup: Customer
Joined: Jan 11, 2006
Location: Canada

Total Topics: 7
Total Comments: 24
DusX
#10 - Quote - Permalink
Posted Jan 19, 2006 - 7:07 PM:

OK...
I still haven't got it. but I have found more detail

the URL LINK is 'http://www.mysite.com/links/detail/1'
but this link loads a page with this error ' No such content exists. The link you are following seems to have been incorrect.'

the DETAIL LINK is 'http://www.mysite.com/links/links/sitename-1.html'
this link works

the URL LINK works IF I enter this 'http://www.mysite.com/links/links/1' rather than the link the system creates.

so.. does this help? Right now I am lost, since I have tried every form of the rewrite_base I can think of.. most will not work at all..
DusX
Member

Usergroup: Customer
Joined: Jan 11, 2006
Location: Canada

Total Topics: 7
Total Comments: 24
DusX
#11 - Quote - Permalink
Posted Jan 19, 2006 - 7:44 PM:

OK... simple answer is that I changed 2 settings in the SEO section of the admin... and didn't know how to change the .htaccess to match..

Is there by any change a thread with this information... ?

In the meantime.. I changed them back to the defaults and all is well..
I also move the site from mysite.com/links to the root of mysite.com
I didn't like how some links would be mysite.com/links/links....

So thank-you for your help... a few more comments in the .htaccess file would solve this issue (make it clear how SEO changes are made)

Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
#12 - Quote - Permalink
Posted Jan 22, 2006 - 3:27 PM:

I couldn't describe what needs changing any more than saying that the things which use the default paths should be changed to the new specified paths.
Search thread for
Download thread as
  • 0/5
  • 1
  • 2
  • 3
  • 4
  • 5



This thread is closed, so you cannot post a reply.