/    Sign up×
Community /Pin to ProfileBookmark

php and .htaccess modrewrite

Im having problems and i cant figure it out

i have 2 seperate hosts on the exact same hosting company both hosts are the same package of hosting features so i assume that bothe would work the same way with all things i do

on one host i can get the following to work

# Begin search engine friendly links code

Options +FollowSymLinks
RewriteEngine On
RewriteBase /

RewriteRule ^speaker([A-Za-z0-9-]+).html$ index.php?spid=$1

this is just a test example of what i want to do but it works

on the other host however using the same stuff it does not work

the location on the other host i am trying to get it to work in is a folder

i have tried every combination i can think of for putting the folder name in the RewriteBase section or before the page names in the RewriteRule section

but no combination seems to work

and it doesnt work without (as above) either

can anyone help me out with suggestions on what might be wrong or how i can solve this

thanks in advance

to post a comment
PHP

0Be the first to comment 😎

×

Success!

Help @BWWebDesigns spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.19,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...