Tag Archives: Rewritecond

WDF: dynamic to static?

Hello all – I’ve noticed that some WDF threads are arriving in Google with all the following format: online world. webdesignforums. net/threadid4331session. code I would like to ask (if I may) how this has become achieved – ie, may be the actual vB coding modified due to this, or (more likely) are these claims from using mod_rewrite about the actual server to be able to modify the URLs If you do, is there anywhere I can find more details on performing this My forums are instead being well indexed, but dynamic pages as static pages appears to help you more with participating backlinks – which serves as a particular selling point for smaller forums attempting to attract newer customers. Is this something that could be discussed here . htaccess applying mod_rewrite. There are wide ranging hacks I learn for invisionboard, and I’d imagine there is some for vB to be able to. It’s a genuinely simple thing really… Unfortunately, not really for myself… I was simply curious concerning using something related on my vB THREE. Would anyone be considering discussing more about how precisely it was performed for WDF Or can i leave the situation alone – specifically in public … Continue reading

Posted in Web Design | Tagged , , , , , , , , , , , , , , , , , | Leave a comment

Help! Nowhere hidden to put private config file!

On the new website, all I’ve is a actual directory on my personal FTP. I do not have any directories underneath it helping put config files, we don’t want anybody to determine. The people along at the host said in order to password protect the directory the config file is currently in (a subdir in the root) with htaccess, but merely do this then the PHP include()s won’t be able to access it. Possibly there is any other way to make this file private on the outside world With thanks! You could take a step like this: PHP: if  (  $_SERVER’PHP_SELF’  ==  ‘/protectedFolder/protectedFile. php’  )        die(  ‘Private  record,   buddy.   Step  back again. ‘  ); I believe should work. Naturally, you change /protected… on the appropriate folder/file, relative on the *server root*. Ah I see, so should the actual file inside the browser is the private one, it’s going to display the meaning, but if it is a different page as well as private file is just being included, it won’t Because it isn’t really the current page I think I getcha. With thanks, buddy WE wouldn’t even show a message. Just forward them onto for … Continue reading

Posted in Web Design | Tagged , , , , , , , , , , , , , , , , , , | Leave a comment

htaccess 301 redirect – v quick Q

Hi all I have not done a redirect using htacces/301 ahead of. So i just planned to check with people here before post implement this, as the htaccess file already has some stuff inside. So, could any person tell me quickly, is this correct (The bit concerning added is for individual page redirects, and also starts after " # FINISH WordPress" ) Code: RewriteEngine With RewriteCond %HTTP_HOST! www\. mysitename\. corp. uk$ RewriteRule (. *) http: //www. mysitename. corp. uk/$1 R=301, L # GET STARTED WordPress < IfModule mod_rewrite. c> RewriteEngine With RewriteBase / RewriteCond %REQUEST_FILENAME! -f RewriteCond %REQUEST_FILENAME! -d RewriteRule. /index. php L < /IfModule> # FINISH WordPress Redirect 301 /uk-female-rock-exclusive-mp3s-contact. html document http: //www. mysitename. corp. uk/ Redirect 301 /uk-female-rock-exclusive-mp3s-music. html document http: //www. thebestmusicshop. corp. uk/mp3-download/1/mysitename/intc. html Direct 301 /uk-female-rock-exclusive-mp3s-shop. html document http: //www. thebestmusicshop. corp. uk/mp3-download/1/mysitename/intc. html Direct 301 /uk-female-rock-exclusive-mp3s-thankyou. html document http: //www. mysitename. corp. uk/ Redirect 301 /uk-female-rock-exclusive-mp3s-video. html document http: //www. mysitename. corp. uk/the-indie-rock-bands-home/music-videos/ Redirect 301 /absolutely-free-music-downloads. html document http: //www. mysitename. corp. uk/best-rock-music-free-downloads/ Redirect 301 /uk-female-rock-exclusive-mp3s-biography. html document http: //www. mysitename. corp. uk/the-indie-rock-bands-home/female-rock-singers-bio/ Redirect 301 /uk-female-rock-exclusive-mp3s-contact. html document http: //www. mysitename. corp. uk/ Truly never seen of which before…. Began seeing I’ve always … Continue reading

Posted in Web Design | Tagged , , , , , , , , , , , , , , , , , , , | Leave a comment

.htaccess tutorials/info?

so how exactly does one go in relation to changing the url from http: //*. compage=home to be able to http: //*. com/home so if they type/click the later on it sends them for the former without reverting the url into the former. i want this to utilize automatically to any kind of added pages, not for just the existing pages. Code: < IfModule mod_rewrite. c> RewriteEngine On RewriteBase / #Checks to view if the user is looking to access a appropriate file, #such just as one image or css insurance, if this is not true it ships the #request to be able to index. php RewriteCond %REQUEST_FILENAME! -f RewriteCond %REQUEST_FILENAME! -d RewriteRule (. *)$ listing. phppage=$1 L < /IfModule> This is a link to excellent htaccess stuff AskApache : Crazy Advanced Net Development effectively, i looked all over that site. i didn’t see anything like what we were talking about. i am going to keep looking. thx to the post. Have a shot at here – 5 useful url rewriting examples using. htaccess pretty sure this is what i need however i can’t help to make this work. RewriteEngine On RewriteRule (a-zA-Z0-9_-+)$ page=$1 RewriteRule (a-zA-Z0-9_-+)/$ page=$1 had no effect. … Continue reading

Posted in Web Design | Tagged , , , , , , , , , , | Leave a comment

Server side redirect for mobile/handheld users

Greetings All I’ve been looking into an effective way to redirect people accessing a niche site via handheld devices, to a focused page for mobile or portable users. I’ve found sources teaching me how to accomplish this via javascript and php, but post wondered if anybody knew a server side way eg via htaccess file I have only until now found this : but unsure of the way to use it or whether this is actually the way to take action: (http: //www. alistapart. com/articles/return-of-the-mobile-stylesheet) (I understand that recently there’s recently been news that Google advises to never redirect and to help keep people on the identical url, but for this purpose, i do desire to redirect them) Thank you! Here’s an added complete version. Stylesheet type: Put this in a file called ". htaccess" and save that file from the directory with your primary css file (presumably identified as style. css). There it is possible to create a separate file called cellular. css for cellular devices. Code: RewriteCond %REQUEST_URI! /mobiledirectoryhere/. *$ RewriteCond %HTTP_ACCEPT " text\/vnd\. wap\. wmlapplication\/vnd\. wap\. xhtml\+xml" NC, AND ALSO RewriteCond %HTTP_USER_AGENT " sonysymbiannokiasamsungmobilewindows ceepocopera" NC, AND ALSO RewriteCond %HTTP_USER_AGENT " mininitroj2memidp-cldc-netfrontmotup\. browserup\. linkaudiovox" NC, AND ALSO … Continue reading

Posted in Web Design | Tagged , , , , , , , , , , , , , , , , , , , | Leave a comment

EMERGANCY!! Need help

Hi there All. My complete domain host have been hacked. And as each of my websites tend to be Joomla…. (about 15 of them) Uninstalling and reloading the complete domain is some thing I cant can. I’ve come across the actual. htaccess file (unfortunately have no idea about how that works) Does that look okay possibly there is a malware route there www. frixel. corp. uk seems being infected now… < –that domain isnt even dwell yet!!! any help could be most appreciated. Internet marketing crying here! Code: RewriteEngine upon # -FrontPage- < Restriction GET POST> arrangement deny, allow not allow from all permit from all < /Limit> < Restriction PUT DELETE> arrangement deny, allow not allow from all < /Limit> AuthUserFile /home/apollod4/public_html/_vti_pvt/service. pwd AuthGroupFile /home/apollod4/public_html/_vti_pvt/service. grp ErrorDocument 404 /404. shtml AuthName apollodesignstudios. corp. uk IndexIgnore. htaccess */. * * *# */HEADER* */README* */_vti* RewriteCond %HTTP_HOST apollodesignstudios. corp. uk$ OR RewriteCond %HTTP_HOST internet. apollodesignstudios. co. uk$ RewriteRule /$ " http\: \/\/www\. apollodesignstudios\. co\. uk\/site" R=301, L GAK! I’m not very good at htaccess and I do not know Joomla = would you call your host’s technological support for support message out of host. HI Marc My goal is to scan … Continue reading

Posted in Web Design | Tagged , , , , , , , , , , , , , , , , | Leave a comment