/    Sign up×
Community /Pin to ProfileBookmark

PHP, forms and search engine optimization

OK. Here’s my setup. I want to see what changes I need to make in order to help with search engine optimization. First of all, my first main page that does anything is index.php. Now, I know by default, pages get directed to index.html, right? So, to get it to index.php, I’m assuming that I have to do something similar to this in order to bypass user interaction:

<meta http-equiv=”refresh” content=”0;URL=http://www.blahblah.com/index.php“>

Then even this page does a redirect. It checks to see if the EULA cookie has been set. If so, then it sends the user to the main page. If it hasn’t been set, then it sends them to the disclaimer page.

So, my first question is how does this affect search engines? Because index.html is technically the first page, but it doesn’t have anything in it that search engines look for other than maybe an appropriate TITLE and a META description tag, right?

Then my second question is regarding the index.php page. On this page, we have a simple form verifying whether or not the user has read our EULA. How does having this simple form affect spiders crawling my site? Will they be able to read through it and then crawl the rest of my site? Thanks in advance!

to post a comment
SEO

1 Comments(s)

Copy linkTweet thisAlerts:
@NetscMar 17.2007 — OK. Here's my setup. I want to see what changes I need to make in order to help with search engine optimization. First of all, my first main page that does anything is index.php. Now, I know by default, pages get directed to index.html, right? So, to get it to index.php, I'm assuming that I have to do something similar to this in order to bypass user interaction:

<meta http-equiv="refresh" content="0;URL=http://www.blahblah.com/index.php">


Then even this page does a redirect. It checks to see if the EULA cookie has been set. If so, then it sends the user to the main page. If it hasn't been set, then it sends them to the disclaimer page.
×

Success!

Help @hadoob024 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.5,
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: @Yussuf4331,
tipped: article
amount: 1000 SATS,

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

tipper: @Samric24,
tipped: article
amount: 1000 SATS,
)...