![]() |
| | LinkBack | Thread Tools | Display Modes |
| ||||
| URL for every story is www.mysite.com/1 At first I thought It was my hosting company because other people were having problems but I'm on my third one (each of them were free) and it's still doing it. my site is http://kyle.getmypage.com/ I wanted the links to go straight to the articles so I changed this <a href="{$story_url}" > with: <a href="{$url}"> Hover over the headlines and you will see that every link says http://kyle.getmypage.com/1 I wish I knew some PHP so I could solve this on my own but there are so many files. Any suggestions? Thank you. Last edited by kbeeveer46 : 06-25-2006 at 11:56 AM. |
| Sponsored Links |
| ||||
| I fixed my problem using this thread http://www.pligg.com/forum/showthrea...et%28%24url%29 Quote:
|
| |||
| That dint fix my problem with mysite.com/1 bug. I am using pligg as an article manager rather than a digg like website. So, I have disabled url fields from the submit area. Somehow the title links were being redirected to mysite.com/1 for every entry. After researching a lot, I finally managed to fix it using a little trick. But I am not sure if this is the right way of going about.. This is what I did: In out.php, comment the code - Header( "HTTP/1.1 301 Moved Permanently" ); header('Location: '. $link->url); and in above it add - $url = getmyurl("storyURL", $link->category_safe_name($link->category), urlencode($link->title_url), $link->id); Header( "HTTP/1.1 301 Moved Permanently" ); Header( "Location: " . $url ); This did work for me but I am just not sure if this is the right fix. Any help is highly appreciated. |
![]() |
« Previous Thread
|
Next Thread »
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Technorati Tags in Each Story? Is it Possible? | bitchabouttech | General Help | 2 | 01-03-2007 07:27 AM |
| Idea for scalable story promotion | jvallery | Core Development | 6 | 04-18-2006 08:41 PM |
| Second URL in the same story. | Infin8jest | Pligg Mods | 0 | 04-11-2006 06:28 PM |
| SEO: Story title in URL | aetjansen | Suggestions | 10 | 02-08-2006 01:26 AM |
| streamline story submission workflow | cryptkeeper | Suggestions | 0 | 01-12-2006 02:28 PM |




Linear Mode

