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 completely customizable, expandable and suitable for all needs.
A2Hosting
Moderators: Moderators
Forum RSS feedReply
Error Mod Rewrite
AuthorText
slashado
Donator

Posts: 323
Contributes: 350

Gender: _MALE_
Online: No

Version: 4.0.1
Country: Brasil
Languages: Português, Inglês (via Google), e todas as outras (via google)
Date: 29/11/2009 12:13
Error Mod Rewrite
#post22690
Hello Mem ..
Having all URL's in MemHT I'm translating what I can to the PT-BR, including URL's, I found a problem that at first I thought it was something stupid that I had done, but here in MemHT Portal is happening the same.
The problem is this: No Mod Rewrite, the urls are processed dynamically, but the url Send a private message is not working when clicking directly on the recipient's name ...
For example, if you leave the mouse on my name or any person, the url will get the original address:
code
index.php?page=pvtmsg&op=newMessage&recipient=mem


Even with the Rewrite enabled, this url is not converted.
I was seeing HTACCESS and also the file inc_modrewrite, but I know a lot and could not identify anything ... lines responsible are:

.HTACCESS
code
RewriteRule ^pvtmsg_new_([^_]+).html$ index.php?page=pvtmsg&op=newMessage&recipient=$1 [L]


INC_MODREWRITE.PHP
code

Entry URL:
"`".$siteConfig['site_url']."/index.php?page=pvtmsg&(amp;)*op=newMessage&(amp;)*recipient=([0-9]+)(['|"|#])`is",

URL Output:
$siteConfig['site_url']."/pvtmsg_new_4.html5",
 


compared with the other, I could not understand why it does not work, since everyone else is the same model, help me?
Hugs

Update:

Said the wrong place ... not to click on the name of the recipient, is on the "Users_Info" Send button in MP. That's where the URL goes bad, sorry for the bad words!

Example:
http://www.memht.com/users_info_slashado.html
Edited: 29/11/2009 12:20
Reason: bad words!
..::MS Criações::.. - Criação e Hospedagem de Websites!
..::Memht BRASIL::.. - Comunidade brasileira do MemHT!
Soon, Virtual Store with Modules and Templates for MemHT!
Eager for MemHT 5
Delete Edit Quote
 
mem
MemHT's Dad
Admin & Developer

mem

Posts: 7243
Contributes: 4800

Gender: _MALE_
Online: No

Languages: English, Italiano, Македонски, Српски
Date: 29/11/2009 14:21
Re: Error Mod Rewrite
#post22695
The url index.php?page=pvtmsg&op=newMessage&recipient=xxx wasn't converted because completelly useless. The modrewrite has been created to make the job easy to search engines and make site links compatible with them (SEO). But what's the meaning of indexind an url to send PM's? None. The page would in any case lead the search engine to a "Login" page. This is why the link has no rewrite conversion Smile
Follow me on twitter if you want to be updated on the MemHT 5 development.
Delete Edit Quote
 
slashado
Donator

Posts: 323
Contributes: 350

Gender: _MALE_
Online: No

Version: 4.0.1
Country: Brasil
Languages: Português, Inglês (via Google), e todas as outras (via google)
Date: 29/11/2009 15:34
Re: Error Mod Rewrite
#post22699
Hahahaha that's really true, had not thought about it, so some links authenticated sessions are not converted, SEO is not for authenticated sessions and end up on the login page ... very good, one more lesson to learn for me haha! Thank Mem!SmileSmileSmile
..::MS Criações::.. - Criação e Hospedagem de Websites!
..::Memht BRASIL::.. - Comunidade brasileira do MemHT!
Soon, Virtual Store with Modules and Templates for MemHT!
Eager for MemHT 5
Delete Edit Quote
 
mem
MemHT's Dad
Admin & Developer

mem

Posts: 7243
Contributes: 4800

Gender: _MALE_
Online: No

Languages: English, Italiano, Македонски, Српски
Date: 29/11/2009 17:15
Re: Error Mod Rewrite
#post22702
Exactly Smile
Follow me on twitter if you want to be updated on the MemHT 5 development.
Delete Edit Quote
 
Reply
Tags Cloud
Twitter updates...
Help MemHT Portal
Navigator
Users Block
Hi Guest
IP: 38.107.179.234

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