Current location: Hot Scripts Forums » General Community » Script Requests » WordPress / mod_rewrite expert needed


WordPress / mod_rewrite expert needed

Reply
  #1 (permalink)  
Old 11-30-11, 04:27 AM
meeble meeble is offline
New Member
 
Join Date: Nov 2011
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Question WordPress / mod_rewrite expert needed

Hello,

I know this isn't a "script" per se, but perhaps close enough?

I am looking for someone who can help me modify my WordPress .htaccess file and customize the mod_rewrite code to allow for more complex URLs and passing variables to php while keeping normal WordPress functionality.

Something like this:

http://mydomain.com/hello-world

(would work like WP does by default with pretty permalinks enabled)

http://mydomain.com/varA/hello-world

(would trick WP into displaying the same "hello-world" post as above, but also would pass the "varA" string to PHP as a variable)

http://mydomain.com/varA/varB/hello-world

(would again trick WP into displaying the same "hello-world" post as above, but also would pass the "varA" and "varB" strings to PHP as variables)

to further clarify, the mod_rewrite code would be outputting something like this:

index.php?varA=$1&varB=$2

in which case I could easily grab those variables in php using:
$a = $_GET['varA'];
$b = $_GET['varB'];

Let me know if you think you can achieve this!

Thanks,
Devin
Reply With Quote
Reply

Bookmarks

Tags
mod_rewrite, wordpress


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Wordpress MU specialist needed musikosi Job Offers & Assistance 1 10-02-08 03:04 PM
AJAX expert needed, detect highlighted text nassau JavaScript 1 12-10-05 09:57 AM
PHP Expert Needed FlashStream Job Offers & Assistance 2 06-29-05 08:16 AM
PHP and CSS Expert NEEDED!!!! eFutureMedia Job Offers & Assistance 1 09-11-04 01:53 PM
PHP and CSS Expert NEEDED!!!! eFutureMedia PHP 4 09-11-04 08:34 AM


All times are GMT -5. The time now is 10:15 AM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.