newuserphp
Members
-
Joined
-
Last visited
Reputation Activity
-
newuserphp reacted to Nillervision in iFrame tag not displaying properlyOK wrap the iframe in an absolute positioned div like this
http://jsfiddle.net/Nillervision/tw56u5pp/
-
newuserphp reacted to jameswilliam723 in Newbie here. Nice to meet you allNice to meet you dude.
I am to here for the same reason that you shared.
Hope to become smart web designer. All the best buddy.
-
newuserphp got a reaction from rallport in my HTACCESS file is not workingI finally got it working (a very BIG THANKS to you, rallport .gif' alt=':seas8:'> ) I simply commented out EVERY other line from the code, and left only this : # BEGIN WordPress <IfModule mod_rewrite.c> # disable directory browsing Options -Indexes # enable Multiviews Options -MultiViews # allow server to process and follow all "fictional" URLs. Options +FollowSymlinks RewriteEngine on RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME}\.php -f RewriteRule ^(.*)$ $1.php #RewriteEngine On #RewriteBase / #RewriteRule ^index\.php$ - [L] #RewriteCond %{REQUEST_FILENAME} !-f #RewriteCond %{REQUEST_FILENAME} !-d #RewriteRule . /index.php [L] #RewriteCond %{REQUEST_FILENAME} !-f #RewriteRule ^([^/]+)/$ $1.php [NC,L] #RewriteRule ^([^/]+)/([^/]+)/$ /$1/$2.php </IfModule> # END WordPress For the world of me, I cannot figure out exactly WHAT was bothering the code in the first place. Obviously, htaccess can accept hundreds of lines of code. But, how to layer them, in the proper order ? Because, by process of elimination (that is, by commenting out each line separately), I can conclude that my code-syntax was wrong! But, why exactly? Should I declare a condition (COND) before every single RULE ? Like this : RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^([^/]+)/$ $1.php [NC,L] Or...........should I declare the conditions only ONCE..........and then right all the rules below it : [RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] RewriteRule ^([^/]+)/$ $1.php [NC,L] RewriteRule ^([^/]+)/([^/]+)/$ /$1/$2.php I have examined every available online tutorial, and it does not address this point anywhere.