Dynadot Aftermarket: discover domain gems worth investing in. Visit our aftermarket.

Need advice on a technical point (cgi script)

SpaceshipSpaceship
SpaceshipSpaceship
Namecheap AuctionsNamecheap Auctions
Watch

estibot.com

Developer of EstibotVIP Member
:heavy_check_mark: Estibot.com
Impact
136
I set up a game script for a new domain name videopokergame.us. The script is located at /cgi-bin/ directory, but I want the script to load on the main index page... don't know how to do that. As a workaround, I set up a redirect from the main index.html file as follows:
<meta http-equiv="REFRESH" content="0; URL=http://videopokergame.us/cgi-bin/sfepoker.cgi">

However, I'm not convinced that's good. Is there a better way to set up the cgi script to be loaded as the default front page? Especially so that it wouldn't harm the SEO?

Or maybe, from a SEO point of view, it'd be better to have a separate front page with general information and a link to the game page?

Thanks for any help & ideas
 
0
Close
The views expressed on this page by users and staff are their own, not those of NamePros.
GoDaddyGoDaddy
I would'nt use too much JS as you say. could you not load each game up into a popup frameless window for each game on your main page?
 
1
Close
you may get a better answer if you post this in the web develop section.
 
0
Close
Roger that cache, will do, thanks
 
0
Close
put a one-line .htaccess file in root diectory (where your index.html file is)

DirectoryIndex /cgi-bin/NameOfGameScript.cgi

That's assuming you have a hosting account that makes you run scripts in a cgi dir - otherwise this would be a moot point, just rename & move the script
 
0
Close
CatchedCatched

We're social

Escrow.com
Spaceship
Domain Recover
CryptoExchange.com

NamePros updates

A browser tab with a favicon next to the page title
Search members
You can now search for members by name, company, location and more. Open the search at the top of any page and choose Members. You will...
AIVikings
Catchy
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back