We’re rewarding the question askers & reputations are being recalculated! Read more.

Questions tagged [php]

PHP is a free server-side, general-purpose scripting language that is especially suited for web development. Originally PHP stood for Personal Home Page, now it stands for PHP: Hypertext Preprocessor.

Filter by
Sorted by
Tagged with
5
votes
6answers
4k views

How to tell Google that I have changed my website URLs?

I have done major updates to my website, and renamed all my URLs. How can I tell Google that I have renamed these URLs and let Google refresh its index? My website URL: http://www.pndmasr.com/ My ...
6
votes
2answers
209 views

Switching to HTTPS - redirect question

Following the recent Google announcements about improved ranking for sites running on https we have a number of clients asking about this. Is it safe to just 301 redirect all pages to their SSL ...
2
votes
4answers
201 views

How to remove indexed pages from google effectively

My site was getting traffic and it was on the rise, then I added https and somewhere in that time I also created tons of extra link for google to crawl, thinking this will increase traffic in those ...
11
votes
4answers
4k views

PHP-based ad server (alternative to OpenX)

I've used OpenX a few years ago and it worked fine. Now I see that it wasn't maintained for a while hence it became buggy on newer versions of PHP. Do you know any ad server that is a good ...
5
votes
5answers
15k views

What is deleteme.xxxxxxxx.php

I was going through page hit logs on awstats and I noticed the following two entries: /deleteme.lcivykmt.php /deleteme.nctqicjg.php I was wondering if anyone recognised them and whether I should ...
6
votes
2answers
1k views

How to submit shortened URLs to Google so that they are included in the index

I am working on a project to create a URL shortener. I have successfully gotten it to create short URLs, but I would like to submit them to Google. When I submit a short URL via Google Webmaster ...
4
votes
1answer
2k views

Submitting a URL to Google using PHP/cUrl

I've been successfully submitting xml sitemaps to Google using cURL. The URL is http://www.google.com/webmasters/sitemaps/ping?sitemap= The problem is that XML sitemaps take several days to be ...
3
votes
1answer
368 views

SEO for importing the page header with JavaScript rather than PHP

My website has the same header/sidebar/footer on every page, so I have been importing them using PHP. To do this I forced all html files to be processed through the apache servers PHP handler via ...
3
votes
1answer
815 views

with PHP: How to restrict access from one Addon domain to another?

With some hostings (000webhost, ovh, active24 and several other hosting, which DOESNT USE cPanel), when you add a new domain, an entirely separate public_html is created and a separate FTP login. But ...
10
votes
10answers
24k views

Need to Stop Bots from Killing my Webserver

I am having EXTREME bot problems on the some of my websites within my hosting account. The bots utilize over 98% of my CPU resources and 99% of my bandwidth for my entire hosting account. These bots ...
7
votes
5answers
3k views

Open Source website backup tool suggestions

I'm looking for an Open Source website backup tool. I'm more interested in Open Source so I can make changes if need be and possibly contribute to the software. Automatic scheduled FTP backups from ...
1
vote
3answers
9k views

open source php hotel booking system

Anyone recommend a good open source hotel booking system built for a LAMP stack?
6
votes
2answers
198 views

SEO/Architecture for multiple related websites

My question is two-fold, but first, a short background. I have a client that is a regional franchise for a service company and each physical site has its own domain and the main "corporate" physical ...
5
votes
2answers
9k views

best way to import 500MB csv file into mysql database?

I have a 500MB csv file that needs to be imported into my mysql database. I've written a PHP script where I can upload the csv file to and it analyses the fields and does the actual importing. but it ...
3
votes
4answers
9k views

Page loading problem. Page is very slow

Regarding the domain http://www.pravninasvet.com, there is a problem where it sometimes loads fast, sometimes very slow. The domain is registered by godaddy, the server is in Germany. But when the ...
7
votes
2answers
2k views

Make Google index over 90,000 user profiles

I have a large amount of user profiles hosted in this schema https://example.com/stats.php?player=name (It's not the prettiest URL, but .htaccess dramatically slows down my site and I don't understand ...
5
votes
3answers
778 views

Looking for a good server side shopping cart solution [duplicate]

Possible Duplicate: Which Ecommerce Script Should I Use? I'm working on a website that will be selling tickets and they will go fast. I need a server side solutions, in php if possible, that will ...
4
votes
6answers
822 views

SEO - which URL's are the best?

I'm using .htaccess with RewriteRule to create SEO-friendly URL's. However, I have a few questions about this: First of all, I noticed many websites end their URL's with .html (or another extension)...
4
votes
2answers
4k views

Apache: disable PHP in a directory

I want to disable php in a specific directory on my server. I thought that setting Options -ExecCGI in httpd.conf would prevent php scripts from being executed, but obviously I am wrong. So, this is ...
1
vote
4answers
827 views

If my page titles are dynamically created with PHP will Google be able to read them?

My page titles are dynamically created with PHP: I set my page title in my PHP functions, and when the function is triggered the title is set. Is Google able to read the page titles?
1
vote
2answers
120 views

Hiding and redirecting extensions on my webpage

I want to hide extensions on my webpage using the .htaccess file. I have managed to do it by using this code; RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^([^\.]+)$ $1.php [NC,L]...
1
vote
1answer
305 views

Mixed Content issue with WordPress, Cloudflare SSL and Genesis Framework

I have a WordPress which is based on the Genesis Framework and uses CloudFlare Flex SSL. The problem occurs in iOS Safari and Firefox mainly, the site gets loaded but without styles and everything ...
9
votes
3answers
287 views

Is it worth it to change my entire user images file structure to take advantage of simple browser caching?

On one of my mobile sites, I simply store my user's profile images as '1.jpg' in their user folder, and incrementally go from there for any extra pics they upload. This means that whenever they change ...
4
votes
1answer
1k views

Has anyone used WebFaction hosting for large traffic websites? [duplicate]

Possible Duplicate: How to find web hosting that meets my requirements? I'm a point where I'm needing to move a large traffic website off of MediaTemple Grid Server (it's maxing out the resources ...
3
votes
1answer
177 views

weird results from tests when trying to serve a fast image download page… why?

This is my php code. <?php ob_start(); echo file_get_contents("originalhighqualityphoto.jpg"); $dat=ob_get_contents(); ob_end_clean(); $dat=gzencode($dat,2); header("...
2
votes
1answer
75 views

Problem with htaccess rewrite condition

I needed to redirect example.com/var1/var2/var3/... to example.com/index.php?myvars=var1/var2/var3/... This is the code I wrote myself: RewriteEngine On RewriteCond %{REQUEST_URI} !=/index.php ...
2
votes
4answers
3k views

Internal Server Error; enable debugging provides no additional information

I'm working with Mediawiki 1.25.1 on CentOS 7.2 running Apache 2.4.3. I'm working with Mediawiki 1.26.4 on CentOS 7.2 running Apache 2.4.6. I am experiencing an Internal Server Error after editing a ...
2
votes
1answer
989 views

Chat like chat.meta.stackoverflow.com in my website [closed]

How can I create a chat room like http://chat.meta.stackoverflow.com/ in my PHP website? I am looking for a free solution. Please help...
2
votes
3answers
2k views

Subdomains vs folders, for multi account/users application

So, for a multi user web app, what is better: http://username.domain.com Or http://domain.com/username I would like to get feedback about security, scalability and maintenance specifically, app is ...
2
votes
2answers
354 views

How to fix 404 crawl error of a website

I have a navigational links in a php page nav.php, Which is included in all pages of my website. I have got folder structure like below +top_folder -config.php +includes_folder -nav....
2
votes
1answer
1k views

How to remove php extension from pages except search results?

Using htaccess I have these php rules: <IfModule mod_rewrite.c> Options +FollowSymLinks -MultiViews # Turn mod_rewrite on RewriteEngine On RewriteBase / ## don't touch /forum URIs RewriteRule ^...
1
vote
2answers
236 views

Site migration questions— PHP, link structure & SEO

I'm working on a massive site overhaul and the main structural change will be a move from static HTML to PHP. I work for an art gallery, and having the artist names in URLs is critical. We already ...
1
vote
1answer
107 views

.htaccess problems with redirection

I apologize ahead of time that this might be a common question, however I've spent 3-4 hours already on solutions which don't quite fix the problem. I have a site and it is moving to a different ...
1
vote
1answer
3k views

How to read user unique code from _ga cookie?

Currently I am facing the problem that have been discussed already here: How to keep track of a unique and an existing visitor (keep track about unique user without registration etc.). The most ...
1
vote
1answer
1k views

Use robots.txt to prevent privacy policy, terms and conditions, and guarantees from being crawled and indexed by Google

I need to block pages such as privacy policy, terms and conditions, and guarantees from being crawled and indexed by Google. They might be unoriginal. I use them for my multiple websites and they ...
1
vote
1answer
122 views

How can I stop this PHP Notice or fix the problem that clutters up the debug.log after switching to PHP 7? [closed]

EDIT: I am the administrator of several websites and when I turn debug on to track down a problem on one of the sites, the debug.log is cluttered with hundreds of lines of PHP notices each day about a ...
0
votes
2answers
809 views

How to find a good photo gallery for my website? [duplicate]

Possible Duplicate: Which Content Management System (CMS) should I use? For my website I'm searching for a really simple gallery module that looks like the one use by Dropbox. But I'd like to ...
-5
votes
1answer
2k views

Does browser understand PHP? [closed]

I know that PHP is server side scripting language, but I got confused when asked in an interview if the browser understands PHP? I have Apache installed in my system. If in a PHP file I write <?...