Latest Blogs

Application Modernization

Arpatech Website

Jan 10, 2025

Artificial Intelligence in Application Modernization: Key Benefits and Real-World Applications

In this digital transformation era, businesses face the constant challenge of keeping their applications relevant, efficient, and scalable. Legacy systems, while critical to operations, often become congested and hinder innovation and agility.   Application modernization is the solution, enabling organizations...

Read More...

Blog Directory

Magento 2 Speed Optimization Guide and Reduce Server Response Time

Magento 2 Speed Optimization Guide and Reduce Server Re...

Magento 2 is not a lightweight platform. It was designed to serve thousands of customers at once. But you can end up with a website that is a pain to use and an eyesore to look at without proper optimization. Here is the ultimate guide to optimize and boost Magento performance.

Why is a slow Magento store bad? Well, you can tell it’s because users hate wasting their time. Their frustration leads to fewer sales and poor experience. But that isn’t all.

Google also discriminates against slow websites – slow Magento is bad for SEO. If your store takes its nice time to load, Google will notice and rank you below your competition. That generates a dangerous slope. In Google’s results page, a slow website will sink down and down, leading to fewer individuals finding your online business.

Even the most skilled web developers may miss the not-so-obvious settings to increase speed. Slow performance of admin is an awful thing to have. It makes the backend unbearable and sometimes making something as easy as saving a single product provides a troublesome experience.

In this blog post, we’ll offer you ways to improve the efficiency of your Magento store. Please note that it is important that you take a backup before you start working on your Magento website. Nothing is more frustrating than a broken site.

Eliminate unused extensions

To speed up Magento, it is best to remove unnecessary extensions rather than simply disabling them. If you disable an extension, it will still be in the database. It would not only improve the size of your database (DB), but it also contributes to DB’s reading time. So, keep your approach clear: DELETE it if you don’t need it. Once the unnecessary extension has been deleted, it will decrease the database reading time and help load the Magento admin panel quicker.

Delete inactive and outdated products

One should bear in mind that a fast store is a clean store. We can operationalize the front-end faster by caching and demonstrating only a limited set of products even if we have more than 10,000 items in the back-end, but we can’t escape their wrath. If the number of products continues to increase at the backend, your Magento admin panel may be slower, so it is best to remove unused products because each product would take some resources to slow Magento admin panel. Repeat this activity every few months to maintain the store’s speed.

Reindexing

Reindexing is one of the fundamental reason website administrators experience slow performance while saving a product. The Magento backend begins to reindex whenever you save a product, and since you have a lot of products, it will take some time to complete. This leads to unnecessary delays. Now, we can’t disable reindexing because keeping all products aligned is very important, but we can always disable auto-updates from the admin. Instead, reindexing can be scheduled via shell. Magento offers very powerful CLI tools, so why not use them.

 

 

This can be set up via CRON to run somewhere during off-peak times, so the load it causes does not impact visitors.

Tuning Up the Database

Database tuning plays a significant role in fine-tuning the performance of the Magento admin board and thus enhance the speed. You may need some expertise for this. It’s not that difficult either, though. You can simply use a tuner script. Once you have downloaded it, you can execute it. It will guide you on the things you need to do.

Clear the Cache

The cache is very essential as far as any web application is concerned, so a web server does not have to process the same request over and over again. A fair amount of memory and execution time can be saved by using the cache. However, if you don’t clean your cache containers carefully, this gets a little out of control. Magento has distinctive caching methods that use both disk and database to maintain everything clean. It is essential to avoid overloading of the cache folder.

 

 

There is another folder, i.e. session, along with cache, which also needs to be cleared. Just like the cache, you need to prevent it from expanding too much.

 

 

Sessions are stored in the database (DB) in some instances. You need to truncate the core session table from DB.

Cache tables in the database may also be challenging. So, keeping core cache_% table empty is a good idea. These tables can expand very fast. As a consequence, the database becomes bloated and the output slows down.

To make it simpler, here is a sample PHP script that can help you understand the above-mentioned actions.

 

 

Optimize Images

Images are a must-have asset for eCommerce businesses, but optimizing and compressing pictures is of utmost significance as it has a direct impact on page weight. The CDN support team at your eCommerce store can assist with this. Otherwise, you can go to the Google PageSpeed server extension.

Varnish for full page caching

Implementing Varnish cache is an essential element of your Magento 2 load time optimization method as it can speed up your mobile web loading acceleration more than 25x.

Varnish cache is a fast cache technology that functions as a temporary storage unit which makes a copy of your eCommerce store’s web pages. When a request is sent to make a web page, the application is first directed to the Varnish server. Rendering pages from the Varnish server requires only a few milliseconds, which considerably decreases the load time (time varies depending on the hardware capacity).

Varnish cache can be used as a mechanism for failover, caching inverse HTTP proxy, or load balancer. Using Varnish cache, you can decrease the number of web servers you depend on to support your website and accelerate response time.

All these aforementioned steps are an apt guide on how to optimize the performance of your Magento 2 eCommerce.

Magento 2 Performance Optimization

Identifying and solving bottlenecks will create an enormous difference in the processing of your data. Using full-page cache and varnish will also enhance the speed of your website and boost HTTP traffic. You should always use Magento on your live server’s production mode, no excuses. Use minification to reduce the size of CSS and JS files, a smaller file will both download quicker and use less bandwidth.

Allow flat tables to minimize requests for databases and enhance response time for databases. Use Magento 2 speed optimization extension, optimize your images and, if possible, use a CDN. Set indexers to be updated on the schedule and allow Magento CRON.

Arpatech Website

Jul 23, 2019

Google’s Project Dragonfly ‘Terminated’

Google’s Project Dragonfly ‘Terminated̵...

A company executive has said that Google’s contentious plan to unveil a censored search engine in China has been terminated.

Although the project was reported to have stopped late last year, there were rumors that it still remained active.

Google executive Karan Bhatia said: “We have terminated Project Dragonfly.” A spokesman for the company later verified that Google was not considering launching search in China with no work being done in that regard.

Google’s model Chinese search engine had previously been branded “disturbing” by one former employee.

Dragonfly had drawn censure as a possible means through which Chinese authorities could expurgate web content and screen citizens’ behavior online.

In late 2018, Google appeared disinclined to confirm that the development of the search engine had been totally stopped, notwithstanding rising pressure on the firm.

Chief executive Sundar Pichai told the US House Judiciary Committee in December that work on Dragonfly at that point was “limited”.

As per documents secured by investigative news site The Intercept, Dragonfly was launched as a company project in the spring of 2017.

Arpatech Website

Jul 23, 2019

How to Build a Budget Friendly Android App for Your Restaurant Business

How to Build a Budget Friendly Android App for Your Res...

Food delivery apps are a new rage. They function as a platform for collaboration between restaurants and customers. More and more food-based startups are in need of food delivery apps today.

Not only for the purpose of creating an app for your own sake, the mobile app sector is currently a massive revenue-giving area and food start-ups are all increasing daily with each of them requiring at least one app for a single platform with most of them targeting various platforms such as Android, iOS, Windows and more.

Here, we will provide you a complete guide on food delivery app development with all the details of food delivery apps.

What to consider while building android food delivery app

There are so many things you need to do before you begin developing food delivery apps. You should keep track of a lot of stuff from the instruction set to the procedure. The development of the food ordering android app includes a lot of measures that must be performed perfectly. The method can be tough and tricky if you start from scratch. But developing an app from scratch will actually help you create the app you want for the restaurant. With the interface you want, you can develop a fully personalized app.

The good news here is that you don’t have to fight a lot when you’re creating an app. The app’s basics and fundamentals are similar, and you just need to take some basic stuff into account when building the app.

Below are the steps that will guide you on how to build a food ordering mobile app for your restaurant:
  • It’s always safe to start small. It’s always a fool play to just jump into the app-building without any prior knowledge. Begin with offering your services to the location where your restaurant is. Check how people respond to the food delivery app and ask them for feedback to improve. Deploy a marketing campaign to get your food delivery app into the customers.
  • If you want to shine bright it is advised to hire the best app development company with tremendous experience in app development and cater completely to your needs.  A successful app development company plays a significant role in creating a mobile restaurant ordering app. Discuss your requirements and suggestions with the restaurant app builder.
  • Make a suitable budget for the development of your food delivery app and marketing campaign. Marketing products and services are essential for any business so that maximum customers get to know about your services.
  • Promotions are vital even before you release a mobile app’s beta version. Start interacting with your potential customers across different social media platforms and make sure that every customer who visits your restaurant app android knows about your food delivery app.
  •  Start taking customer feedback. It plays a big role in the success of your app. Take feedback constructively and make sure you improve your app and services depending on those reviews.
  • Hire a team of competent delivery boys/girls that add value to your business. The delivery team plays a vital role in food delivery applications.

Pick the Right App Development Pricing Model

You must be confused about choosing a fixed price or hourly rate to pay developers. You can employ the finest mobile app development company that can make your dream come true.

Certainly, pricing is the primary thing to decide before continuing with stuff as far as food delivery applications are concerned. Any restaurant android app development cost will greatly depend on the specifications it has. Also, development partner will also impact your mobile application development costs.

These are the variables that influence pricing while creating a mobile app. Here are the significant factors that influence the price of developing mobile apps. You have to keep these points in mind while building a mobile application.

Device and the Operating System

Developing an app for a particular operating system will lower the cost. The app-building system Bring Your Own Device (BYOD) will greatly impact pricing. You have to develop an app that operates perfectly across different operating systems and consumes a fortune.

Native or Web app

This is one of the main constraints. The native app is OS-centric and costs a little bit more but offers incredible customer experience. While the web app is accessible at a cheaper price, the user experience is not as pleasant as the native app. You can first opt for a web app and then switch to the native one if you’re on a tight budget.

User Authorization

There are some applications that require user authentication or authorization. Such applications will cost a little more than the usual amount. It relies entirely on your requirement to go with such apps or not.

App Distribution

Official distribution channels like the Google Play store will charge $100 as the price of licensing developers. You have to be prepared to pay that amount because it’s something you can’t avoid. Before deploying it, the hosting company will check whether the applications fulfill all the demands or not.

Add-ons like integration with social media applications, buying in-app will cost you a little more.

Define Your Target Audience

 

Although, nowadays apps are used by majority 9of the people since everyone loves doing everything while staying in their comfort zones but usually, apps usage is seen among individuals having a busy lifestyle. Whether they are professionals, students, working-class. So keep them as your primary target.

It is always smart to do your research first. So, before you set out to make your product, study your competitors, check on their weaknesses. Also, observe what makes their apps a success. But remember, food delivery applications are not about being copycats, but rather about innovating. Do research beforehand so that you don’t have to make any modifications later on. See their features, the services they provide, and what makes them different from others when it comes to designing food apps. For example, if you are looking for a sample business plan for tiffin services, you need to understand the magnitude of the online food ordering system project.

Features of a Good Food Delivery App

People who order from delivery apps look to be in their comfort zone, so your app requires to be easy to navigate and easy to customize according to user needs. A sleek design and an introductory tour that can help people find their way the first time around for your food apps helps.

We have listed some of the primary features for your food app development experts that you should remember to include other than those you already have in your mind.

Order Placement with Custom Search Tool

This method should be fast and straightforward. Moreover, the app should provide an opportunity to specify any meal’s content. People may have distinct food preferences and intolerances, so offer them the possibility to customize a meal. A list of search categories and customization options will make the ordering process much more convenient.

Geolocation

A helpful function for both the customer and the delivery staff. It enables clients to find neighboring restaurants and at the same time makes the logistics system clearer for carriers.

Tracking Option

Every customer likes to monitor the delivery process, so you need to provide this choice. Moreover, such data is also helpful for restaurants as it helps them evaluate the preparation process.

Payment Choices

Keep in mind that people want to have preferences for payment systems as well, so your app has to provide several alternatives (internet payment options or cash on delivery, etc.).

Feedback

Customers must be able to write a review on a restaurant or meal. It encourages you to discover weak points in your services.

Notifications

Another important feature of any successful app. Inform your customers about their order status, inform them about discounts, and remind them to order a meal if they’re busy.

Social Media Integration

People like to share their experiences with others, so offer them the ability to do so. In return, you will gain more popularity and increase your audience.

Offer Rewards

Incentives such as loyalty schemes, discounts and coupons will bring more customers to your business.

Cross-Interface Options

This is important for restaurant executives and couriers both. The app should provide a feature to manage orders, update information and interact with other stakeholders.

Order History

Any person should be able to check prior orders. Here the reorder choice can be very useful. At the same time, restaurants must have access to order history as it is important information for analytics.

We’ve described some of the most important features for a food delivery app. Your food delivery app may also have some other features or functionalities which will make it exclusive.

Arpatech Website

Jul 22, 2019

Google Updates Maverick: Its Search Ranking Algorithm Third Time in a Week

Google Updates Maverick: Its Search Ranking Algorithm T...

Something really exciting is going on at Google. For the third time in just one week, Google has once again updated its search ranking algorithm, with many of the tools showing enormous variations in the Google rankings.

Brett Tabke of WebmasterWorld, who termed this update as “Update Maverick”, said it was named in honor of yesterday’s Top Gun trailer release, as this update appears slightly furtive and detailed. Nevertheless, all the key algorithm tools are reporting an update has happened.

Bret said that he is not a huge fan of naming an update for a movie, and would have preferred something around the 50th anniversary of the moon landing but “Google had their opportunity to name it and they didn’t get back to me after numerous attempts.”

Some of the tools realtime screenshots:

 

Source: https://algoroo.com


 

Source: https://www.advancedwebranking.com/google-algorithm-changes


 

Source: https://www.semrush.com/sensor


 

Source: https://serpmetrics.com/flux


Arpatech Website

Jul 22, 2019

How Blockchain Technology is Altering the Social Media Ecosystem

How Blockchain Technology is Altering the Social Media ...

The term Blockchain has become a prevalent part of human vocabulary over the previous year. It initially started as the tech behind cryptocurrency transfers and exchanges but is now spreading into thousands of other sectors.

 

It’s safe and reliable nature makes it a strong way for businesses to record financial transactions and provide a more equal playing field for buyers and sellers.

 

But how does this equate into the fast-changing and addictive world of social media? Can blockchain’s manipulative opportunities work for social media? How does blockchain work for social media?

 

Think of the first thing you do in the morning when your alarm wakes you up. If you automatically reach your phone and scroll through your latest notifications, you’re not alone. For most individuals, this is the go-to-morning activity.

 

Our thumbs wander to Facebook or Instagram or Twitter icon before we even opened our eyes appropriately. And, fortunately, for those of us who’s first moments of the day are dictated by who said what to us where, most social media channels are free to use.

 

Let me rephrase this: they are free to use in the monetary sense. We pay for them in other ways; with our data and, eventually, with our identities. That’s where it all receives a little Black Mirror.

 

What about Blockchain?

Blockchain can be seen as an extremely secure digital ledger (think spreadsheet) that lives on a global computer network and allows peer-to-peer transactions to take place. This network enables a group of connected computers to keep a single ledger instead of getting the data owned by one manager.

There are a variety of blockchain-based systems on the market today. Most frequently, these systems process data by placing it into groups called “blocks” and linking them in a chronological order to form what is called a “chain” that produces a blockchain. Blockchain utilizes mathematical functionalities and code to approve and check transactions before new data can be added to the ledger. Each piece of information must respond to a complicated mathematical problem generated by a cryptographic hash function (a mathematical algorithm) before it can be added. If the answer is right, the data becomes a component of the blockchain; if the answer is inaccurate, a consensus is reached before the data is recorded.

 

How Blockchain Will Impact Social Media

Blockchain technology continues to impact many industries and social media is no exception.

Whether you are an online social media marketer or a company owner who uses social media to reach customers, it is essential that you understand that social media is currently undergoing a drastic change. Blockchain technology is presently disrupting multiple sectors, and social media is likely to encounter the ramifications of this disruption. Businesses using social media to create their brands, such as Twitter and Facebook, will soon understand that all the investment may have been for nothing. When blockchain technology changes, there will be an undeniable upheaval on the platforms used by consumers and businesses along with the means of networking.

 

Trends and Effects Using Blockchain on Social Media

If you want to prepare your business for future blockchain-enabled social network marketing, there are certain trends that you need to follow carefully.

Here’s a little elaboration of the current trends. These trends show how blockchain is changing social media:

An Upsurge in Verified Online Identities 

Rather than marketing their product in social media’s ‘black hole’ and becoming susceptible to fraudulent pay per click or PPC ad impressions, business executives are attracted towards the blockchain technology and smart contracts which enables them to connect with customers with verified identities.

Compelling Amalgamation of Cryptocurrencies and Blockchain Technology

Blockchain technology and cryptocurrency are the future of the social media ecosystem. When a decentralized platform becomes mainstream, social media consumers have the option of platforms from which to network. The potential to earn small amounts of cryptocurrency for online operations may attract users to platforms where contributions to platform development are rewarded. For example, if you consider the amount of time you invest in current social media platforms, then imagine if each post you make will earn you a small amount of bitcoin. This kind of coded social media network is fascinating.

Verification of  Virtual Marketplace

Online fraud is so prevalent that verification has become a need now, whether it is the identity verification or market place verification. Virtual marketplaces are areas that are used to grow specific business needs and to interact with like-minded companies or vendors. As blockchain technology becomes more prominent and mainstream, marketplace verification will improve the growth potential of a company. The ability to market verified vendors or businesses will make marketing simpler as they will understand what you are selling; thus, decreasing all marketing attempts while improving ROI time.

Cryptocurrency and Blockchain Collectibles Leverage the Future of Social Media

We are witnessing an increasing interest in the cryptocurrency collectible industry, with influencers raising millions of dollars for investor funding. Although for some people it is only a child’s play. But the reality is that cryptocurrency collectible businesses are planning to introduce games on platforms such as Android or iOS. Once submarkets are constructed on top of the crypto-collectible game, the lure of this innovation will become more defined.

Blockchain Technology Smartly Tackles Fake Content

If we talk about today’s social media scenarios, it’s simple for posts to get flooded with fake content from spambots. Blockchain technology with its smart contracts can affect the use of fake content. All the future social media networks will have the latest content distribution based on verified information and traceable data spread.

 

To Conclude…

We cannot predict with certainty that blockchain will outdo the current social system, we understand that its uses are vast and useful. If we arrive at a full blockchain-based social mechanism, we will still face difficulties. As consumers, however, we will have more control over our personal data, content, and access to accurate information.

Arpatech Website

Jul 21, 2019

LinkedIn Adding Three New Ways For Marketers To Achieve Advertising Goals

LinkedIn Adding Three New Ways For Marketers To Achieve...

LinkedIn said it’s adding 3 new marketing objectives to Campaign Manager, with the aim of achieving advertising goals. Using Campaign Manager, marketers can now enhance their LinkedIn marketing campaigns for the following objectives:

 

  • Brand awareness: Raise share-of-voice through top of funnel campaigns that charge by impressions.
  • Website conversions: Enhance campaigns for precise website actions, like purchases or event registrations.
  • Job applicants: Ads can now be created to drive job applications.

 

In an announcement, the company says: “These new offerings are designed to continue to make it easier to improve key results and better align with your campaign objectives. Early results show it’s working, we’ve seen a 67% lift in customer satisfaction compared to our legacy Campaign Manager experience.”

 

In addition to this update, LinkedIn is enhancing its click pricing to align with the selected goal. For example, if website visits are the objective, then marketers will only be charged for clicks that go to a landing page on their website.

Arpatech Website

Jul 21, 2019

Google No Longer Supports no-Index Directive in robots.txt

Google No Longer Supports no-Index Directive in robots....

Google will no longer support unverified and unpublished rules in the robots select protocol, effective September 1, the company said, meaning Google will no longer support robots.txt files with the noindex directive listed within the file.

 

“In the interest of maintaining a healthy ecosystem and preparing for potential future open source releases, we’re retiring all code that handles unsupported and unpublished rules (such as noindex) on September 1, 2019. For those of you who relied on the noindex indexing directive in the robots.txt file, which controls crawling, there are a number of alternative options,” the company said.

 

Google listed the following options, the ones you perhaps should have been using anyway:

  • Noindex in robots meta tags: Supported both in the HTTP response headers and in HTML, the noindex directive is the most effective way to remove URLs from the index when crawling is allowed.
  • 404 and 410 HTTP status codes: Both status codes mean that the page does not exist, which will drop such URLs from Google’s index once they’re crawled and processed.
  • Password protection: Unless markup is used to indicate subscription or paywalled content, hiding a page behind a login will generally remove it from Google’s index.
  • Disallow in robots.txt: Search engines can only index pages that they know about, so blocking the page from being crawled often means its content won’t be indexed. While the search engine may also index a URL based on links from other pages, without seeing the content itself, we aim to make such pages less visible in the future.
  • Search Console Remove URL tool: The tool is a quick and easy method to remove a URL provisionally from Google’s search results.

 

Google has been looking to change this for years and with regulating the protocol, it can now move forward. Google said it “analyzed the usage of robots.txt rules.” Google focuses on looking at unsupported implementations of the internet draft, such as crawl-delay, nofollow, and noindex. “Since these rules were never documented by Google, naturally, their usage in relation to Googlebot is very low,” Google said. “These mistakes hurt websites’ presence in Google’s search results in ways we don’t think webmasters intended.”

Arpatech Website

Jul 20, 2019

Simple Steps for Creating Friendly URL’s with PHP & HTACCESS

Simple Steps for Creating Friendly URL’s with PHP �...

Here in this blog, we will tell you how you can create friendly URL’s with PHP & HTACCESS.

 

Let’s begin…

 

One of the most helpful functionalities of the htaccess file is the capacity to alter URLs. You can use it to redirect one URL to another or use it to create a broad sweeping change to all URLs on your website.

 

In this post, you are going to learn about generating Clean URLs in PHP with apache htaccess. Here I’ll be using a straightforward content management system application developed in PHP & MySQL. From this article, you can read about the content management system. You can unquestionably create clean URLs in your projects after completing this article, it’s simple to follow but you need to understand some basics about regular expressions.

 

About the PHP CMS Project Demo Clean URL

You can readily learn to create Clean URL’s in PHP with apache htaccess. In the content management system, I have developed four kinds of pages, they are index.php that this home page used to show all the articles and I also use index.php file to show category-based articles with a URL query string that looks like sitename.com/index.php?category=category-name, I’ll be altering this URL to clean URLs as sitename.com/category/category-name.

 

And the next page is a single article page with a single.php and URL structure before clean URL is sitename.com/single.php?url=article-name after making it as clean URL is sitename.com/article-name. And you’ll also learn to eliminate the .php extension from URLs.

 

In the category pages, we have pagination, I’ll demonstrate to you how we can convert them to clean URLs, pagination number after the category name. Original category page pagination looks like this sitename.com/index.php?category=category-name&page=2, We’re going to create them as sitename.com/category/category-name/2

 

First of all, check whether or not mod_rewrite apache module is activated. You can test it by generating a new file with the phpinfo function. Open this php file in the browser after searching for mod_rewrite. You should see this as enabled.

 

If the mod_rewrite module is enabled, you can proceed with the next steps.

 

Steps to Use Mod_Rewrite:

Create a file and save it as a.htaccess, then switch on the rewrite engine in the.htaccess file by adding RewriteEngine on Then after that Create Rules to match URL requests for clean URL’s.

 

Example of htaccess Rule

Here is the instance of htaccess rule.
RewriteRule URL Pattern Original URL [flags]

Every rule starts with Rewrite Rule followed by URL Pattern, which is the frequent expression. After that its Original URL, then flags.

 

Key Points to Remember while working with htaccess and mod_rewrite

Every new rule should be in a different row. Test them after creating rewrite rules. Also, check inner & links files linking (relative to site root). And apache takes care of loading the right files internally.

 

Making Clean URL’s for Single Article Page

I’m going to transform URL from sitename.com/single.php in a single article page? url = article-name to sitename.com/article-name. To do this, we need to change the pattern of the URL and the Orignal URL, and everything is the same. That’s rules that start with RewriteRule and the flags.

In URL Pattern, we will search for various phrases by using \w and in conjunction with +. Here is the full URL Pattern for Single Article Clean URL Pages – ^([-\w]+)$

Next Original URL, will we use the original single.php url? url= article-name. We will retrieve the URL patter with $1 instead of the article-name. And the final Original URL will look like single.php? url=$1

Next its same NC flags for case-insensitive and L for the end of the rule. The complete rule for Category URLs.


RewriteRule ^([-\w]+)$ single.php?url=$1 [NC,L]


Making Category URL’s as Clean URLs

Category URLs are also the same as Single-Article URLs, except that using additional category slug in the category here in the URL category. Starting and ending the URL is the same.

Here is the structure of the category URL before and after, that is from sitename.com/index.php?category=category-name to sitename.com/category/category-name

URL pattern will be comparable to Single Article Page URL pattern, an additional category slug with word pattern will be introduced. Our complete URL model for category URLs is ^category/([-\w]+)/(\d+)$

The original URL is the same as the past rule, which is a single article URL. The pattern is obtained as $1. The final original category pages URL is category.php? Url=$1

Next, it’s same flags NC for case-insensitive and L for the end of the rule. The complete rule for URLs in categories.


RewriteRule ^category/([-\w]+)/$ category.php?url=$1 [NC,L]


 

Making Pagination as Clean URLs for Category Pages

This looks like the category URL with pagination before and after.

From sitename.com/index.php?category=category-name&page=2

To sitename.com/category/category-name/2

Add additional pattern group to the category rewrite rule URL pattern and also to the original URL to make pagination URLs as a clean URL.

This pattern group is total numbers, so use \d with + for various numbers. And the final pattern of the URL will be (\d+). The complete paginated URL pattern is ^category/([-\w]+)/(\d+)$

Next is the original URL, here we should retrieve the second pattern that will be represented as $2 and the final original URL will look like category.php? url=$1&page=$2

Next its same NC flags for case-insensitive and L for the end of the rule. The complete rule for the Pagination URL category is:


RewriteRule ^category/([-\w]+)/(\d+)$ category.php?url=$1&page=$2 [NC,L]


You have to substitute the code above with this one.

 

Fixing Category Clean URIs with Pagination Issue

After adding Rewrite Rule pagination, it functions great if you access category pagination pages. You will get an error if you access category pages.

This is because, whenever you use multiple pattern groups of URLs. In descending order, you should add multiple rewrite rules.

That is, you must add Rewrite Rule to the top with multiple URL patterns, then next after the next one. This will fix the issues.

 

Sum Up

We explained in a very simplified way how to create friendly URLs with HTACCESS and PHP. Clean URLs are doubtlessly crucial for any web application. As search engines prefer tidy and clear URLs and rank them in higher positions.  So being a developer, you ought to have this skill. If you have any problems, please let us know through the comment below.

Arpatech Website

Jul 20, 2019

Google News Doesn’t Support The Standout Meta Tag and Editors’ Pick Any Longer

Google News Doesn’t Support The Standout Meta Tag and...

With the unveiling of the new AI-powered Google News a few days ago, Google has drawn support for the standout meta tag and the Editors’ Pick section.

 

As part of the new Google News, support for Editors’ Picks feeds & the standout meta tag has ended, with more to share on other ways publishers can enhance discernibility in the near future.

 

There is clearly no reason to continue to do so, as far as those publishers that use these features are concerned. It is also built into the Yoast SEO plugin, and it’s believed that Yoast will be eliminating those features as well.

 

Launched in September 2011, the standout meta tag came as a way to allow news publishers to highlight articles that are believed to stand above and beyond the rest. Their use was confined to seven times in a seven-day period, so publishers learned to use them frugally.

 

The Editors’ Pick also launched in 2011, in August, letting publishers who were comprised in this hand-curated system define which stories should be included in that list. This comes just a few months after Google also dropped support for the meta keywords new tag.

 

Both of these features are not supported in the new version of Google News anymore.

Arpatech Website

Jul 19, 2019

More Articles by Arpatech

Design

design for business
logo design
problem-solving web design
ui/ux
product design

Art

motion design
branding
illustration
icons
logo design

AI

machine learning
deep learning
theory of mind
expert system

Development

web development
app development
software development

Apps

app design
usability
mobile app
animations