Tag Info

New answers tagged

0

The fact that you have to ask wether to use a CMS or build a custom one makes me lean towards to 'just get one that suits you'. I can not give you any advise one that, you will need to do some reasearch for that. Find similar sites and see how they work, what they use. You start from scratch, try to make it the best start ;) About the dedicated server: I ...


0

This looks like something you will have to create yourself. Most CMS will not fit your needs. As for many databases, you should be ok with just one although you will need many tables within the database.


1

You can try something like this: <? $deny = array("111.111.111", "222.222.222", "333.333.333"); foreach ($deny as $denyip) { if (strpos($_SERVER['REMOTE_ADDR'], $denyip)===0) { header("location: http://www.google.com/"); exit(); } } ?> This basically loops through all denied IP's and checks if the user's IP starts with the IP written in ...


0

Use 301 redirects and drop the file extensions. I can point you to some authoritative articles that will help you make your decision on how to approach redirects, URIs and SEO in general. 1) 301 redirects is considered the 'best-practice.' You can read the MOZ (widely considered and authority on SEO) article for more details. 2) As for best-practices on ...


0

I think that it all depends upon the inbound links to your site. I assume that they contain the .html and so I am working from this. If that is the case, then why upset the apple cart? I like your own suggestion: My first consideration was using an htaccess directive to process PHP files as HTML This seems like a good solution. I say this because link ...


0

Don't run both on the same folder. Install WP on a separate folder, copy as fast as you can, adjust all URLs (to keep SEO), and then flip the switch (replace one site with the other). I have been doing migrations for more than 6 years now, and rushing a migration will surely make you lose page rank, SEO, etc. Make sure everything is working, make 301 ...


0

The .htaccess file is meant to be used by the HTTP Server, not PHP. Yet, you can setup PHP to read and adhere to the rules of the .htaccess file, if you need to do as such.


0

The HTML tag <link> is not allowed in the <body>. Edit the index.php of the template to include the <link> and remove it from the code to be included in the article.


2

PHP doesn't work with the file over HTTP but directly on the filesystem, unless you access the file over HTTP using cUrl or file_get_contents('http://.../file.xml'). If you want to prevent the files from being accessed without the user being authenticated first, place the files outside the public directory and serve them from there. /files/ ...


1

Unfortunately, with WordPress you will not be able to know which plugin is consuming resources. You will have to disable the plugins one by one and then try. You can even optimize the database so that it does not consumes much resources. It may be helpful to indicate which hosting plan you have with GoDaddy.


1

Postfix has the feature always_bcc. This parameter specifies an optional address that receives a copy of each message that enters the Postfix system, not including bounces that are generated locally. Here is a link: http://www.postfix.org/postconf.5.html Search for always_bcc. This should offer some clue as to what Postfix is doing and if it is working, ...


4

You can see an example Here http://chicagos.co This website has all the keywords and stuff like that, but it does not appear on google even if you type the domain, check the source code. chicagos.co doesn't appear in the SERPs because you are redirecting it to another domain!? chicagos.co does a 301 redirect to chicagospizza.co chicagospizza.co then ...


1

Google doesn't index or not index a site based on how the site is generated. There is nothing wrong with the code on your site, Google just hasn't found it yet. There are somethings you can do to help - Sign up for Google Analytics and add the tracking code to your site. You should do this anyway as the information is critical to the success of the site ...


0

If you have increased the memory limit, make sure it has been applied for the whole account. If it has been increased in php.ini make sure you set the line below in your .htaccess under public_html directory. SetEnv PHPRC /home/cPanel-user/public_html. Replace cPanel-user with your actual cPanel username. Looking at the error it is an issue with PHP ...


2

RewriteRule ^.*$ index.php?page=$1 [NC,L] This will result in a rewrite loop. You are also not capturing the sub pattern, so $1 will be empty. In order to prevent a rewrite loop, you need a get-out-clause, such as not rewriting when the request is already for index.php. Something like: RewriteEngine On RewriteCond %{REQUEST_URI} !=/index.php RewriteRule ...


2

I'm going to break your question into two parts: Where can I send test email? Send test email to a disposable email address service. [1] These services automatically create an inbox for any email you send to them. You can then read the messages in the inbox through their web site, without registration and without a password. For example, I can send an ...


2

If you have ever tried to access gmail, facebook, ... with two different browsers in a same computer you see that you can and if you sign out of one the other one is still signed in meanwhile you have the same IP Address(network layer of TCP/IP) on both browsers(application layer of TCP/IP).


2

Is the sending email address in the contact lists of your Yahoo and Gmail receiving accounts? This might avoid the spam treatment.


1

Can you post an example email showing what you have been sending? For gmail going into spam and marking a few emails as not spam might do the trick, the same thing should work for yahoo mail.


-1

Hi to be honest to the best of my knowledge the most common WP hacks are either weak PW security that has been compromised and allowed malicious code / updates to be made (consider the number of WP admins that didnt change the default UN 'wp-admin' thats already half of the auth guessed). Or for historic installs / ones with the offending versions bad ...


1

The "general" rule of thumb which I see and understand it to be... The main, global style is a external stylesheet that is linked to the whole site. While the individual "page fixes" such as small margin, paddings, and minor issues are within a tag to fix them. When it comes to doing this in web design and web development, I was taught this way by my ...


2

Lets analyse briefly each of your reasons. CSS rules are completely loaded with the original page, no additional requests. Kind of true, they are on the rendering engine waiting for the start of the HTML rendering engine/process, which may take longer because the styles are inline so the HTML takes longer to arrive. Depending on size of the page, it ...


1

You are forgetting one critical issue. CSS files can be cached. This means that there would be a significant drop in bandwidth usage using an external CSS file vs in the header. However, I do understand automation since that is the world where I live. Still, I do not insert style into the header ever except for tools that I create. It may be that static ...


0

For non shared hosting, I would say Varnish will be your best option. It is a reverse proxy and cache content as well. This would result in improved performance of apache, reduce server load and would result in faster page loading times. There is an interesting discussion at Drupal regarding various caching options for it. In fact, most of them apply to any ...


2

You can't include php code in text widgets from the Wordpress admin panel by default. You've added far too much code in your question (instead of just including the relevant snippets - use pastbin for full contents of files). But you can add the ability to include php in text widgets by adding the following in your theme's functions.php file. ...


1

Several of my web applications and web hosting provider uses Advanced PHP Cache, also known as APC, instead of Memcache. From my experiences of using both, APC has improved performance more. I would make sure to ask your web hosting provider if they are/can use APC.


0

You need to have a web server running at www.domain.com:81, and create a .htaccess file there.


0

On domain.com:81 create .htaccess file (where site/ is): RewriteEngine on RewriteRule (.*) http://domain.com:80/$1 [P,L] With this when you go to domain.com:81 the site will proxy to domain.com.


2

You have to encode your E-Mail contents using proper E-Mail encoding methods before they show up correctly in E-Mails. If I were you, I would use wp_mail() function inside WordPress to send the E-Mails. I don't know if it does all the required encodings though. Another alternative is to use SwiftMailer to send the E-Mails. It certainly takes care of all ...



Top 50 recent answers are included