MemHT Portal is a Free PHP CMS and Blog
It permit the creation and the management online of websites with few and easy steps.
It's completelly customizable, expandable and suitable for all needs.
Moderators: Moderators
Forum RSS feedReply
Links Problem after using new style
AuthorText
baselkanaan
Junior Member
Avatar

Posts: 79
Contributes: 20

Gender: _MALE_
Online: No

Version: 4.0.1
Country: Jordan
Languages: Arabic / English
Date: 23/06/2008 10:02
Links Problem after using new style
#post8551
I had used new style with my memht website ..
but all links in main body was changed ..
Example:


the link of news name " Spyware Doctor 6.0.0.354"

before : "http://middown.com/news_Spyware+Doctor+6.0.0.354.html"

after : "http://middown.com/index.php?page=news&op=readNews&title=Spyware+Doctor+6.0.0.354"

So how I can to make all links as "before" style

and can I remove "news_" from the links

www.middown.com
memht 3.8.1

version: 4.0.1
Home: www.middown.com
Delete Edit Quote
 
mem
MemHT's Dad
Admin & Developer

Avatar

Posts: 4662
Contributes: 1969

Gender: _MALE_
Online: No
Date: 23/06/2008 11:01
Re: Links Problem after using new style
#post8557
All this is because you're using a wrong mod-rewrite files (your customized probably). Use original .htaccess and inc_modrewrite.php
Delete Edit Quote
 
baselkanaan
Junior Member
Avatar

Posts: 79
Contributes: 20

Gender: _MALE_
Online: No

Version: 4.0.1
Country: Jordan
Languages: Arabic / English
Date: 23/06/2008 13:59
Re: Links Problem after using new style
#post8566
quote
mem:
All this is because you're using a wrong mod-rewrite files (your customized probably). Use original .htaccess and inc_modrewrite.php


Thanks mem for quick replay

I did replaced original file with .htaccess and inc_modrewrite.php ... but the problem still shown ..

there is another thing may help you to determine this problem !!

go to my Home page and look to the defrances between the links of the main news and the links in the "Recent news" table in the footer

there is no problem in footer links "Recent news" but the problem in main news links that be shown in main body

hope this infoemation helpfully for you


Thanks Smile
version: 4.0.1
Home: www.middown.com
Delete Edit Quote
 
mem
MemHT's Dad
Admin & Developer

Avatar

Posts: 4662
Contributes: 1969

Gender: _MALE_
Online: No
Date: 23/06/2008 14:25
Re: Links Problem after using new style
#post8567
Open news.html template file and modify links in this way:

find
code
index.php?page=news&title=

replace with
code
index.php?page=news&id={$value.id}&title=
Delete Edit Quote
 
baselkanaan
Junior Member
Avatar

Posts: 79
Contributes: 20

Gender: _MALE_
Online: No

Version: 4.0.1
Country: Jordan
Languages: Arabic / English
Date: 23/06/2008 15:54
Re: Links Problem after using new style
#post8572
quote
mem:
Open news.html template file and modify links in this way:

find
code
index.php?page=news&title=

replace with
code
index.php?page=news&id={$value.id}&title=


Great mem

Sooooolved now !!Smile

Thanks
version: 4.0.1
Home: www.middown.com
Delete Edit Quote
 
Reply
Tags Cloud
Advertising
News Archive
Language
Help MemHT Portal
Navigator
Users Block
Hi Guest
IP: 38.103.63.59

Username
Password
New files
MemHT Wiki
Friends
MemHT Portal is a free software released under the GNU/GPL License by Miltenovik Manojlo